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>
Nguyễn Thái Ngọc Duy committed
Feb 9, 2018 at 18:01 UTC
5983ba0dc8a53ab87f44be3085d39961dcd6d24d
1 file changed
+1
-8
contrib/completion/git-completion.bash
+1
-8
@@ -2252,14 +2252,7 @@ _git_config ()
2252
esac
2253
case "$cur" in
2254
--*)
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
2256
return
2257
;;
2258
branch.*.*)