diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-11-11 13:18:38 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-11 13:18:38 -0800 |
commit | fb628ab129dc2a29581e05edd886e3dc16a4ac49 (patch) | |
tree | f0aa80517478477d098a16245b64a0c1142699f8 /contrib | |
parent | Merge branch 'rs/clear-commit-marks-in-repo' (diff) | |
parent | git-prompt.sh: localize `option` in __git_ps1_show_upstream (diff) | |
download | tgif-fb628ab129dc2a29581e05edd886e3dc16a4ac49.tar.xz |
Merge branch 'sd/prompt-local-variable'
Code clean-up.
* sd/prompt-local-variable:
git-prompt.sh: localize `option` in __git_ps1_show_upstream
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/completion/git-prompt.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh index 54e123d632..4640a1535d 100644 --- a/contrib/completion/git-prompt.sh +++ b/contrib/completion/git-prompt.sh @@ -138,6 +138,7 @@ __git_ps1_show_upstream () done <<< "$output" # parse configuration values + local option for option in ${GIT_PS1_SHOWUPSTREAM}; do case "$option" in git|svn) upstream="$option" ;; |