summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-02-09 18:01:44 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-02-09 10:24:50 -0800
commite1bea2c0d667d13b92919490757af388f2b441e4 (patch)
tree0f3aa74ec4c53e50408e9fed8e551ebd1ded0988 /contrib
parentgit-completion.bash: introduce __gitcomp_builtin (diff)
downloadtgif-e1bea2c0d667d13b92919490757af388f2b441e4.tar.xz
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>
Diffstat (limited to 'contrib')
-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