Skip to content

Commit

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

0 comments on commit 8716bdc

Please sign in to comment.