Skip to content

Commit 5983ba0

Browse files
pcloudsgitster
authored andcommitted
completion: use __gitcomp_builtin in _git_config
The new completable options are: --blob= --bool --bool-or-int --edit --expiry-date --get-color --get-colorbool --get-urlmatch --includes --int --null --path --show-origin Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 2e29dca commit 5983ba0

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

contrib/completion/git-completion.bash

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2252,14 +2252,7 @@ _git_config ()
22522252
esac
22532253
case "$cur" in
22542254
--*)
2255-
__gitcomp "
2256-
--system --global --local --file=
2257-
--list --replace-all
2258-
--get --get-all --get-regexp
2259-
--add --unset --unset-all
2260-
--remove-section --rename-section
2261-
--name-only
2262-
"
2255+
__gitcomp_builtin config
22632256
return
22642257
;;
22652258
branch.*.*)

0 commit comments

Comments
 (0)