summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder@ira.uka.de>2016-02-22 13:02:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-02-22 18:26:04 (GMT)
commit59305aeebab98080f6f39a1c4cf50d9dd06c8db3 (patch)
tree8eec862bc17e8e45fc5fc01b65a9a68c2396adcc
parentd7d4ca87a9b44a3da5602714733adb6047f476c3 (diff)
downloadgit-59305aeebab98080f6f39a1c4cf50d9dd06c8db3.zip
git-59305aeebab98080f6f39a1c4cf50d9dd06c8db3.tar.gz
git-59305aeebab98080f6f39a1c4cf50d9dd06c8db3.tar.bz2
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>
-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 07fa13b..02a0489 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')"