summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder@ira.uka.de>2009-09-15 12:21:45 +0200
committerJunio C Hamano <gitster@pobox.com>2009-09-22 12:47:27 -0700
commit9f040e9524c45a2f862b427ec78204625e09f50e (patch)
tree01413275f8aa31e8e3fe0c88a89e7c5227fec9f4 /contrib
parent59d5eeee9f7e0cb71c10bde3da0fa01c3b3dbf8d (diff)
downloadgit-9f040e9524c45a2f862b427ec78204625e09f50e.tar.gz
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>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
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