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>
Mårten Kongstad committed
Apr 24, 2013 at 22:49 UTC
7612e61e33981f48f212f6aefe3550ac724d6208
1 file changed
-7
contrib/completion/git-completion.bash
-7
@@ -1182,13 +1182,6 @@ _git_commit ()
1182
;;
1183
esac
1184
1185
- case "$prev" in
1186
- -c|-C)
1187
- __gitcomp_nl "$(__git_refs)" "" "${cur}"
1188
- return
1189
- ;;
1190
- esac
1191
-
1185
case "$cur" in
1186
--cleanup=*)
1187
__gitcomp "default strip verbatim whitespace