Browse Source

Merge branch 'pw/completion-stash'

* pw/completion-stash:
  completion: fix mis-indentation in _git_stash()
maint
Junio C Hamano 9 years ago
parent
commit
8716bdca26
  1. 4
      contrib/completion/git-completion.bash

4
contrib/completion/git-completion.bash

@ -2415,8 +2415,8 @@ _git_stash () @@ -2415,8 +2415,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')"

Loading…
Cancel
Save