Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'pw/completion-stash' into maint
author
Junio C Hamano
<gitster@pobox.com>
Mon, 22 Feb 2016 21:10:20 +0000
(13:10 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 22 Feb 2016 21:10:20 +0000
(13:10 -0800)
* pw/completion-stash:
completion: fix mis-indentation in _git_stash()
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
(from parent 1:
924459c
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 63f5c046a2c7058692657ffa4e97f20367bafedc..00d729996fab5be89696bf4841205d45c49c7794 100644
(file)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-2413,8
+2413,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')"