From: SZEDER Gábor Date: Mon, 22 Feb 2016 13:02:50 +0000 (+0100) Subject: completion: fix mis-indentation in _git_stash() X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=59305aeebab98080f6f39a1c4cf50d9dd06c8db3;p=git.git completion: fix mis-indentation in _git_stash() Signed-off-by: SZEDER Gábor Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 07fa13b567..02a0489c00 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -2409,8 +2409,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')"