summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Mårten Kongstad <marten.kongstad@gmail.com>2013-04-24 22:49:06 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-24 16:05:07 -0700
commit7612e61e33981f48f212f6aefe3550ac724d6208 (patch)
tree2758c6dd061dfbfbb0b3de127735e7da65acd428
parentcherry-pick/revert: make usage say '<commit-ish>...' (diff)
downloadtgif-7612e61e33981f48f212f6aefe3550ac724d6208.tar.xz
completion: remove duplicate block for "git commit -c"
Remove one of two consecutive, identical blocks for "git commit -c". This was caused by a mechanical mismerge at d931e2fb252e (Merge branch 'mp/complete-paths', 2013-02-08). The side branch wanted to add this block at fea16b47 but the same fix was done independently at 685397585 already. Signed-off-by: Mårten Kongstad <marten.kongstad@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--contrib/completion/git-completion.bash7
1 files changed, 0 insertions, 7 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 93eba46750..f67b0f008b 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1182,13 +1182,6 @@ _git_commit ()
;;
esac
- case "$prev" in
- -c|-C)
- __gitcomp_nl "$(__git_refs)" "" "${cur}"
- return
- ;;
- esac
-
case "$cur" in
--cleanup=*)
__gitcomp "default strip verbatim whitespace