Skip to content

Commit

Permalink
bash: teach 'git reset --patch'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
szeder authored and gitster committed Sep 22, 2009
1 parent 59d5eee commit 9f040e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f040e9

Please sign in to comment.