summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder@ira.uka.de>2008-06-14 11:48:01 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-06-14 12:47:44 -0700
commit1d284cbae3abd5fb6f58dd5282ba0e93eb68e6c6 (patch)
treed11d44618c6b8048051b1c9cf506d8159897e53d /contrib
parentgit add: add long equivalents of '-u' and '-f' options (diff)
downloadtgif-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 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=()