git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
d7d4ca8
)
completion: fix mis-indentation in _git_stash()
author
SZEDER Gábor
<redacted>
Mon, 22 Feb 2016 13:02:50 +0000
(14:02 +0100)
committer
Junio C Hamano
<redacted>
Mon, 22 Feb 2016 18:26:04 +0000
(10:26 -0800)
Signed-off-by: SZEDER Gábor <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/completion/git-completion.bash
patch
|
blob
|
history
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')"
git clone https://git.99rst.org/PROJECT