Skip to content

Commit 4d77dd9

Browse files
pcloudsgitster
authored andcommitted
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>
1 parent 554a1df commit 4d77dd9

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

contrib/completion/git-completion.bash

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,10 +1499,7 @@ _git_fsck ()
14991499
{
15001500
case "$cur" in
15011501
--*)
1502-
__gitcomp "
1503-
--tags --root --unreachable --cache --no-reflogs --full
1504-
--strict --verbose --lost-found --name-objects
1505-
"
1502+
__gitcomp_builtin fsck "--no-reflogs"
15061503
return
15071504
;;
15081505
esac

0 commit comments

Comments
 (0)