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 <szeder@ira.uka.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
SZEDER Gábor committed
May 1, 2015 at 19:21 UTC
af16bdaa3fb25bd5811b09bc11c9244b1dcc684e
1 file changed
+1
-1
contrib/completion/git-completion.bash
+1
-1
@@ -1181,7 +1181,7 @@ _git_log ()
1181
return
1182
;;
1183
--decorate=*)
1184
- __gitcomp "long short" "" "${cur##--decorate=}"
1184
+ __gitcomp "full short no" "" "${cur##--decorate=}"
1185
return
1186
;;
1187
--*)