Browse Source

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>
maint
SZEDER Gábor 8 years ago committed by Junio C Hamano
parent
commit
c977eefd55
  1. 2
      contrib/completion/git-completion.bash

2
contrib/completion/git-completion.bash

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

Loading…
Cancel
Save