completion: fix mis-indentation in _git_stash()
[gitweb.git] / contrib / completion / git-completion.bash
index 07fa13b5672ee8ae60d40374cffcb6ec90ae36a2..02a0489c001aadf50a9ac5c675fcec834b6c3a3a 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')"