Browse Source

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>
maint
SZEDER Gábor 17 years ago committed by Junio C Hamano
parent
commit
1d284cbae3
  1. 5
      contrib/completion/git-completion.bash

5
contrib/completion/git-completion.bash

@ -500,7 +500,10 @@ _git_add () @@ -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=()

Loading…
Cancel
Save