summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-02-09 18:01:44 +0700
committerJunio C Hamano <gitster@pobox.com>2018-02-09 10:24:50 -0800
commite1bea2c0d667d13b92919490757af388f2b441e4 (patch)
tree0f3aa74ec4c53e50408e9fed8e551ebd1ded0988
parentd401f3debc5807092d68c95a89b363b65bbc8947 (diff)
downloadgit-e1bea2c0d667d13b92919490757af388f2b441e4.tar.gz
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>
-rw-r--r--contrib/completion/git-completion.bash5
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 85e7f26328..1e0bd835fe 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1153,10 +1153,7 @@ _git_add ()
{
case "$cur" in
--*)
- __gitcomp "
- --interactive --refresh --patch --update --dry-run
- --ignore-errors --intent-to-add --force --edit --chmod=
- "
+ __gitcomp_builtin add
return
esac