summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-02-09 18:02:19 +0700
committerJunio C Hamano <gitster@pobox.com>2018-02-09 10:24:53 -0800
commit80eb51970d136c1db70604c4c7c8bdea8c457af0 (patch)
tree9cf488c70c2bf29c29eb2c17e40ce45a89d968c3
parent78331b6fb622521c7bd1d17f76ab6f3be520338d (diff)
downloadgit-80eb51970d136c1db70604c4c7c8bdea8c457af0.tar.gz
completion: use __gitcomp_builtin in _git_tag
The new completable options are: --color --format= --ignore-case 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.bash6
1 files changed, 1 insertions, 5 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 7724ce7808..e76b2f0356 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -3002,11 +3002,7 @@ _git_tag ()
case "$cur" in
--*)
- __gitcomp "
- --list --delete --verify --annotate --message --file
- --sign --cleanup --local-user --force --column --sort=
- --contains --no-contains --points-at --merged --no-merged --create-reflog
- "
+ __gitcomp_builtin tag
;;
esac
}