Skip to content

Commit

Permalink
completion: fix and update 'git log --decorate=' options
Browse files Browse the repository at this point in the history
'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>
  • Loading branch information
SZEDER Gábor authored and Junio C Hamano committed May 3, 2015
1 parent af4e9e8 commit af16bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ _git_log ()
return
;;
--decorate=*)
__gitcomp "long short" "" "${cur##--decorate=}"
__gitcomp "full short no" "" "${cur##--decorate=}"
return
;;
--*)
Expand Down

0 comments on commit af16bda

Please sign in to comment.