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:
af4e9e8
)
completion: fix and update 'git log --decorate=' options
author
SZEDER Gábor
<redacted>
Fri, 1 May 2015 17:21:00 +0000
(19:21 +0200)
committer
Junio C Hamano
<redacted>
Sun, 3 May 2015 18:46:14 +0000
(11:46 -0700)
'git log --decorate=' understands the 'full', 'short' and 'no' options.
From these the completion script only offered 'short' and it offered
'long' instead of 'full'.
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 daccbcc33e66cef1132d63f83dd482f06af93fe3..2218a9c6f804c2d3c81cdf5a76795283eb28421b 100755
(executable)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-1181,7
+1181,7
@@
_git_log ()
return
;;
--decorate=*)
- __gitcomp "
long short
" "" "${cur##--decorate=}"
+ __gitcomp "
full short no
" "" "${cur##--decorate=}"
return
;;
--*)
git clone https://git.99rst.org/PROJECT