summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-02-22 18:27:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-02-22 18:27:24 (GMT)
commit8716bdca268d9fb1cc9fc0255bfcbb27ace7e5b5 (patch)
tree38088091c4c2dcbeec2290d73399fe688d8631e9 /contrib
parent0233b800c838ddda41db318ee396320b3c21a560 (diff)
parent59305aeebab98080f6f39a1c4cf50d9dd06c8db3 (diff)
downloadgit-8716bdca268d9fb1cc9fc0255bfcbb27ace7e5b5.zip
git-8716bdca268d9fb1cc9fc0255bfcbb27ace7e5b5.tar.gz
git-8716bdca268d9fb1cc9fc0255bfcbb27ace7e5b5.tar.bz2
Merge branch 'pw/completion-stash'
* pw/completion-stash: completion: fix mis-indentation in _git_stash()
Diffstat (limited to 'contrib')
-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 45ec47f..e3918c8 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2415,8 +2415,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')"