diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-02-22 13:10:20 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-22 13:10:20 -0800 |
commit | 47847c756b7de9615cf89f353d3d2a84f8a871f1 (patch) | |
tree | 8d3cabe19155b551e4220ee9999017778e0fec98 /contrib/completion | |
parent | Merge branch 'mm/clean-doc-fix' into maint (diff) | |
parent | completion: fix mis-indentation in _git_stash() (diff) | |
download | tgif-47847c756b7de9615cf89f353d3d2a84f8a871f1.tar.xz |
Merge branch 'pw/completion-stash' into maint
* pw/completion-stash:
completion: fix mis-indentation in _git_stash()
Diffstat (limited to 'contrib/completion')
-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 63f5c046a2..00d729996f 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')" |