summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-02-09 18:01:57 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-02-09 10:24:51 -0800
commit4d77dd9093cb96c34cbf6f0969fca14979411726 (patch)
tree87184e2c5e397ae4a44ea4db58a1112175635fa3 /contrib/completion
parentcompletion: use __gitcomp_builtin in _git_fetch (diff)
downloadtgif-4d77dd9093cb96c34cbf6f0969fca14979411726.tar.xz
completion: use __gitcomp_builtin in _git_fsck
The new completable options are: --connectivity-only --dangling --progress --reflogs 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/completion')
-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 4275307c3d..340e2414ff 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1499,10 +1499,7 @@ _git_fsck ()
{
case "$cur" in
--*)
- __gitcomp "
- --tags --root --unreachable --cache --no-reflogs --full
- --strict --verbose --lost-found --name-objects
- "
+ __gitcomp_builtin fsck "--no-reflogs"
return
;;
esac