Skip to content

Commit 7612e61

Browse files
amhkgitster
authored andcommitted
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 d931e2f (Merge branch 'mp/complete-paths', 2013-02-08). The side branch wanted to add this block at fea16b4 but the same fix was done independently at 6853975 already. Signed-off-by: Mårten Kongstad <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2130bf3 commit 7612e61

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

contrib/completion/git-completion.bash

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,13 +1182,6 @@ _git_commit ()
11821182
;;
11831183
esac
11841184

1185-
case "$prev" in
1186-
-c|-C)
1187-
__gitcomp_nl "$(__git_refs)" "" "${cur}"
1188-
return
1189-
;;
1190-
esac
1191-
11921185
case "$cur" in
11931186
--cleanup=*)
11941187
__gitcomp "default strip verbatim whitespace

0 commit comments

Comments
 (0)