summaryrefslogtreecommitdiff
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
parent69c61c4fa9a4b38eeb611a86102493394cdeb9cf (diff)
downloadgit-1d284cbae3abd5fb6f58dd5282ba0e93eb68e6c6.tar.gz
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>
-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 16984632d9..2141b6b6ba 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=()