summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder@ira.uka.de>2016-02-22 14:02:50 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-02-22 10:26:04 -0800
commit59305aeebab98080f6f39a1c4cf50d9dd06c8db3 (patch)
tree8eec862bc17e8e45fc5fc01b65a9a68c2396adcc /contrib/completion
parentcompletion: update completion arguments for stash (diff)
downloadtgif-59305aeebab98080f6f39a1c4cf50d9dd06c8db3.tar.xz
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>
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/git-completion.bash4
1 files changed, 2 insertions, 2 deletions
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')"