Skip to content

Commit

Permalink
Merge branch 'pw/completion-stash' into maint
Browse files Browse the repository at this point in the history
* pw/completion-stash:
  completion: fix mis-indentation in _git_stash()
  • Loading branch information
Junio C Hamano committed Feb 22, 2016
2 parents 924459c + 59305ae commit 47847c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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')"
Expand Down

0 comments on commit 47847c7

Please sign in to comment.