git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Change `option` in `__git_ps1_show_upstream` to a local variable
@ 2020-06-21 20:51 Black Lamb
  0 siblings, 0 replies; only message in thread
From: Black Lamb @ 2020-06-21 20:51 UTC (permalink / raw)
  To: git

The `option` variable in the `__git_ps1_show_upstream` function in
`contrib/completion/git-prompt.sh` [1] is not a local variable. Can it
be changed to a local variable like the other variables in
`__git_ps1_show_upstream`?

[1] 
https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh#L131


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-21 20:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-21 20:51 Change `option` in `__git_ps1_show_upstream` to a local variable Black Lamb

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).