Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
completion: fix mis-indentation in _git_stash()
author
SZEDER Gábor
<szeder@ira.uka.de>
Mon, 22 Feb 2016 13:02:50 +0000
(14:02 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 22 Feb 2016 18:26:04 +0000
(10:26 -0800)
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
d7d4ca8
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 07fa13b5672ee8ae60d40374cffcb6ec90ae36a2..02a0489c001aadf50a9ac5c675fcec834b6c3a3a 100644
(file)
--- 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')"