git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
3ba0420
)
completion: remove redundant __gitcomp_nl() options from _git_commit()
author
SZEDER Gábor
<redacted>
Fri, 3 Feb 2017 02:53:54 +0000
(
03:53
+0100)
committer
Junio C Hamano
<redacted>
Mon, 13 Feb 2017 23:04:02 +0000
(15:04 -0800)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/completion/git-completion.bash
patch
|
blob
|
history
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 66d84745c6d2d86aef909fe547b147797e3d907b..91fda7ffbde414134321220d507919d8d6d19cdd 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT