diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-03 15:15:40 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-03 15:15:40 +0900 |
commit | e19a80ac46c1201d1b95a6a88ffc3ba412109424 (patch) | |
tree | 802b6758c0c27ae910f40e1b4862cb72a71eee9f /contrib/completion/git-completion.bash | |
parent | 648e7b0e4abd36a25609c8d0fabd533cf515918d (diff) | |
download | git-e19a80ac46c1201d1b95a6a88ffc3ba412109424.tar.gz git-e19a80ac46c1201d1b95a6a88ffc3ba412109424.tar.bz2 git-e19a80ac46c1201d1b95a6a88ffc3ba412109424.zip |
Imported Upstream version 2.7.2upstream/2.7.2
Diffstat (limited to 'contrib/completion/git-completion.bash')
-rw-r--r-- | contrib/completion/git-completion.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 63f5c046..00d72999 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -2413,8 +2413,8 @@ _git_stash () show,--*|branch,--*) ;; branch,*) - if [ $cword -eq 3 ]; then - __gitcomp_nl "$(__git_refs)"; + if [ $cword -eq 3 ]; then + __gitcomp_nl "$(__git_refs)"; else __gitcomp_nl "$(git --git-dir="$(__gitdir)" stash list \ | sed -n -e 's/:.*//p')" |