From: SZEDER Gábor Date: Fri, 3 Feb 2017 02:53:54 +0000 (+0100) Subject: completion: remove redundant __gitcomp_nl() options from _git_commit() X-Git-Tag: v2.13.0-rc0~46^2~13 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c977eefd55c7387751bc9b819489863cb0f86f27 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 Signed-off-by: Junio C Hamano --- 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