From: SZEDER Gábor Date: Mon, 22 Feb 2016 13:02:50 +0000 (+0100) Subject: completion: fix mis-indentation in _git_stash() X-Git-Tag: v2.7.2~2^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/59305aeebab98080f6f39a1c4cf50d9dd06c8db3?ds=inline;hp=--cc completion: fix mis-indentation in _git_stash() Signed-off-by: SZEDER Gábor Signed-off-by: Junio C Hamano --- 59305aeebab98080f6f39a1c4cf50d9dd06c8db3 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')"