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>
SZEDER Gábor committed
Feb 3, 2017 at 03:53 UTC
c977eefd55c7387751bc9b819489863cb0f86f27
1 file changed
+1
-1
contrib/completion/git-completion.bash
+1
-1
@@ -1216,7 +1216,7 @@ _git_commit ()
1216
{
1217
case "$prev" in
1218
-c|-C)
1219
- __gitcomp_nl "$(__git_refs)" "" "${cur}"
1219
+ __gitcomp_nl "$(__git_refs)"
1220
return
1221
;;
1222
esac