From: SZEDER Gábor Date: Tue, 15 Sep 2009 10:21:45 +0000 (+0200) Subject: bash: teach 'git reset --patch' X-Git-Url: https://repo.or.cz/w/git/spearce.git/commitdiff_plain/9f040e9524c45a2f862b427ec78204625e09f50e bash: teach 'git reset --patch' Signed-off-by: SZEDER Gábor Acked-by: Shawn O. Pearce Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 7ebc61bf11..6fd7e1d329 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -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