Skip to content

Commit

Permalink
Merge branch 'jk/complete-commit-c' into maint
Browse files Browse the repository at this point in the history
* jk/complete-commit-c:
  completion: complete refs for "git commit -c"
  • Loading branch information
Junio C Hamano committed Jan 14, 2013
2 parents 750a6ca + 6853975 commit dca93d2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,13 @@ _git_commit ()
{
__git_has_doubledash && return

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 dca93d2

Please sign in to comment.