Skip to content

Commit

Permalink
completion: remove duplicate block for "git commit -c"
Browse files Browse the repository at this point in the history
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 <marten.kongstad@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Mårten Kongstad authored and Junio C Hamano committed Apr 24, 2013
1 parent 2130bf3 commit 7612e61
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7612e61

Please sign in to comment.