completion: use __gitcomp_builtin in _git_add
The new completable options are --all --ignore-missing --ignore-removal --renormalize --verbose Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
d401f3debc
commit
e1bea2c0d6
@ -1153,10 +1153,7 @@ _git_add ()
|
|||||||
{
|
{
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
--*)
|
--*)
|
||||||
__gitcomp "
|
__gitcomp_builtin add
|
||||||
--interactive --refresh --patch --update --dry-run
|
|
||||||
--ignore-errors --intent-to-add --force --edit --chmod=
|
|
||||||
"
|
|
||||||
return
|
return
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user