From: SZEDER Gábor Date: Fri, 1 May 2015 17:21:00 +0000 (+0200) Subject: completion: fix and update 'git log --decorate=' options X-Git-Tag: v2.4.2~4^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af16bdaa3fb25bd5811b09bc11c9244b1dcc684e;p=git completion: fix and update 'git log --decorate=' options '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 Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index daccbcc33e..2218a9c6f8 100755 --- 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 ;; --*)