From: Black Lamb <notaflyingpig@gmail.com>
To: git@vger.kernel.org
Subject: Change `option` in `__git_ps1_show_upstream` to a local variable
Date: Sun, 21 Jun 2020 16:51:59 -0400 [thread overview]
Message-ID: <3fe48de84e2803cbd6c28ba0104230a70ec50087.camel@gmail.com> (raw)
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
reply other threads:[~2020-06-21 20:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3fe48de84e2803cbd6c28ba0104230a70ec50087.camel@gmail.com \
--to=notaflyingpig@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).