OSDN Git Service

completion: fix mis-indentation in _git_stash()
authorSZEDER Gábor <szeder@ira.uka.de>
Mon, 22 Feb 2016 13:02:50 +0000 (14:02 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Feb 2016 18:26:04 +0000 (10:26 -0800)
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index 07fa13b..02a0489 100644 (file)
@@ -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')"