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 atd931e2fb25
(Merge branch 'mp/complete-paths', 2013-02-08). The side branch wanted to add this block atfea16b47
but the same fix was done independently at685397585
already. Signed-off-by: Mårten Kongstad <marten.kongstad@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
2130bf3ca9
commit
7612e61e33
@ -1182,13 +1182,6 @@ _git_commit ()
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$prev" in
|
|
||||||
-c|-C)
|
|
||||||
__gitcomp_nl "$(__git_refs)" "" "${cur}"
|
|
||||||
return
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
--cleanup=*)
|
--cleanup=*)
|
||||||
__gitcomp "default strip verbatim whitespace
|
__gitcomp "default strip verbatim whitespace
|
||||||
|
Reference in New Issue
Block a user