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>
Nguyễn Thái Ngọc Duy committed
Feb 9, 2018 at 18:01 UTC
e1bea2c0d667d13b92919490757af388f2b441e4
1 file changed
+1
-4
contrib/completion/git-completion.bash
+1
-4
@@ -1153,10 +1153,7 @@ _git_add ()
1153
{
1154
case "$cur" in
1155
--*)
1156
- __gitcomp "
1157
- --interactive --refresh --patch --update --dry-run
1158
- --ignore-errors --intent-to-add --force --edit --chmod=
1159
- "
1156
+ __gitcomp_builtin add
1157
return
1158
esac
1159