completion: remove redundant __gitcomp_nl() options from _git_commit()

Those two options are specifying the default values that
__gitcomp_nl() would use anyway when invoked with no options at all.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
SZEDER Gábor 2017-02-03 03:53:54 +01:00 committed by Junio C Hamano
parent 3ba042017a
commit c977eefd55

View file

@ -1216,7 +1216,7 @@ _git_commit ()
{
case "$prev" in
-c|-C)
__gitcomp_nl "$(__git_refs)" "" "${cur}"
__gitcomp_nl "$(__git_refs)"
return
;;
esac