1
0
mirror of https://github.com/git/git.git synced 2024-09-28 10:00:54 +02:00

completion: fix mis-indentation in _git_stash()

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
SZEDER Gábor 2016-02-22 14:02:50 +01:00 committed by Junio C Hamano
parent d7d4ca87a9
commit 59305aeeba

View 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')"