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:

committed by
Junio C Hamano

parent
d7d4ca87a9
commit
59305aeeba
@ -2409,8 +2409,8 @@ _git_stash ()
|
|||||||
show,--*|branch,--*)
|
show,--*|branch,--*)
|
||||||
;;
|
;;
|
||||||
branch,*)
|
branch,*)
|
||||||
if [ $cword -eq 3 ]; then
|
if [ $cword -eq 3 ]; then
|
||||||
__gitcomp_nl "$(__git_refs)";
|
__gitcomp_nl "$(__git_refs)";
|
||||||
else
|
else
|
||||||
__gitcomp_nl "$(git --git-dir="$(__gitdir)" stash list \
|
__gitcomp_nl "$(git --git-dir="$(__gitdir)" stash list \
|
||||||
| sed -n -e 's/:.*//p')"
|
| sed -n -e 's/:.*//p')"
|
||||||
|
Reference in New Issue
Block a user