summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder.dev@gmail.com>2017-02-03 03:53:54 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-13 15:04:02 -0800
commitc977eefd55c7387751bc9b819489863cb0f86f27 (patch)
tree1b8035f721906536ab1551fe932a45cecba454d5
parentcompletion: restore removed line continuating backslash (diff)
downloadtgif-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>
-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 66d84745c6..91fda7ffbd 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