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>
This commit is contained in:
SZEDER Gábor 2015-05-01 19:21:00 +02:00 committed by Junio C Hamano
parent af4e9e8c87
commit af16bdaa3f

View file

@ -1181,7 +1181,7 @@ _git_log ()
return
;;
--decorate=*)
__gitcomp "long short" "" "${cur##--decorate=}"
__gitcomp "full short no" "" "${cur##--decorate=}"
return
;;
--*)