aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder@ira.uka.de>2008-06-14 11:48:01 +0200
committerJunio C Hamano <gitster@pobox.com>2008-06-14 12:47:44 -0700
commit1d284cbae3abd5fb6f58dd5282ba0e93eb68e6c6 (patch)
treed11d44618c6b8048051b1c9cf506d8159897e53d /contrib
parent69c61c4fa9a4b38eeb611a86102493394cdeb9cf (diff)
downloadgit-1d284cbae3abd5fb6f58dd5282ba0e93eb68e6c6.tar.gz
git-1d284cbae3abd5fb6f58dd5282ba0e93eb68e6c6.tar.xz
completion: add more 'git add' options
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/completion/git-completion.bash5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 16984632d..2141b6b6b 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -500,7 +500,10 @@ _git_add ()
local cur="${COMP_WORDS[COMP_CWORD]}"
case "$cur" in
--*)
- __gitcomp "--interactive --refresh"
+ __gitcomp "
+ --interactive --refresh --patch --update --dry-run
+ --ignore-errors
+ "
return
esac
COMPREPLY=()