summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder@ira.uka.de>2009-09-15 12:21:45 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-09-22 12:47:27 -0700
commit9f040e9524c45a2f862b427ec78204625e09f50e (patch)
tree01413275f8aa31e8e3fe0c88a89e7c5227fec9f4 /contrib/completion
parentbash: update 'git stash' completion (diff)
downloadtgif-9f040e9524c45a2f862b427ec78204625e09f50e.tar.xz
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/completion')
-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