aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2017-02-03 03:53:54 +0100
committerJunio C Hamano <gitster@pobox.com>2017-02-13 15:04:02 -0800
commitc977eefd55c7387751bc9b819489863cb0f86f27 (patch)
tree1b8035f721906536ab1551fe932a45cecba454d5 /contrib
parent3ba042017a63492d8709b1991def43414ce87976 (diff)
downloadgit-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.bash2
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