Skip to content

Commit af16bda

Browse files
szedergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent af4e9e8 commit af16bda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ _git_log ()
11811181
return
11821182
;;
11831183
--decorate=*)
1184-
__gitcomp "long short" "" "${cur##--decorate=}"
1184+
__gitcomp "full short no" "" "${cur##--decorate=}"
11851185
return
11861186
;;
11871187
--*)

0 commit comments

Comments
 (0)