[PATCH] completion: fix and update 'git log --decorate=' options
- From
SZEDER Gábor <szeder@ira.uka.de>
- Date
- May 1, 2015, 17:21 UTC
- Message-ID
- <1430500860-4664-1-git-send-email-szeder@ira.uka.de>
'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 <szeder@ira.uka.de> --- contrib/completion/git-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 8b0d2b4..b28a14e 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1447,7 +1447,7 @@ _git_log () return ;; --decorate=*) - __gitcomp "long short" "" "${cur##--decorate=}" + __gitcomp "full short no" "" "${cur##--decorate=}" return ;; --*)
-- 1.9.5.msysgit.0