Browse Source

bash: teach 'git reset --patch'

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
SZEDER Gábor 16 years ago committed by Junio C Hamano
parent
commit
9f040e9524
  1. 2
      contrib/completion/git-completion.bash

2
contrib/completion/git-completion.bash

@ -1780,7 +1780,7 @@ _git_reset () @@ -1780,7 +1780,7 @@ _git_reset ()
local cur="${COMP_WORDS[COMP_CWORD]}"
case "$cur" in
--*)
__gitcomp "--merge --mixed --hard --soft"
__gitcomp "--merge --mixed --hard --soft --patch"
return
;;
esac

Loading…
Cancel
Save