diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2017-02-03 03:53:54 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-02-13 15:04:02 -0800 |
commit | c977eefd55c7387751bc9b819489863cb0f86f27 (patch) | |
tree | 1b8035f721906536ab1551fe932a45cecba454d5 /contrib | |
parent | 3ba042017a63492d8709b1991def43414ce87976 (diff) | |
download | git-c977eefd55c7387751bc9b819489863cb0f86f27.tar.gz git-c977eefd55c7387751bc9b819489863cb0f86f27.tar.xz |
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>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/completion/git-completion.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 66d84745c..91fda7ffb 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1216,7 +1216,7 @@ _git_commit () { case "$prev" in -c|-C) - __gitcomp_nl "$(__git_refs)" "" "${cur}" + __gitcomp_nl "$(__git_refs)" return ;; esac |