Skip to content

Commit c977eef

Browse files
szedergitster
authored andcommitted
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>
1 parent 3ba0420 commit c977eef

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
@@ -1216,7 +1216,7 @@ _git_commit ()
12161216
{
12171217
case "$prev" in
12181218
-c|-C)
1219-
__gitcomp_nl "$(__git_refs)" "" "${cur}"
1219+
__gitcomp_nl "$(__git_refs)"
12201220
return
12211221
;;
12221222
esac

0 commit comments

Comments
 (0)