Skip to content

Commit

Permalink
completion: add more 'git add' options
Browse files Browse the repository at this point in the history
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
SZEDER Gábor authored and Junio C Hamano committed Jun 14, 2008
1 parent 69c61c4 commit 1d284cb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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=()
Expand Down

0 comments on commit 1d284cb

Please sign in to comment.