completion: use __gitcomp_builtin in _git_fetch
New completable options: --deepen= --ipv4 --ipv6 --jobs= --multiple --progress --refmap= --shallow-exclude= --shallow-since= --update-head-ok Since _git_pull() needs fetch options too, $__git_fetch_options remains. This variable will soon be gone after _git_pull() is updated. 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
554a1df49a743fe1a2e35fac53d602c055bc7941
1 file changed
+1
-1
contrib/completion/git-completion.bash
+1
-1
@@ -1462,7 +1462,7 @@ _git_fetch ()
1462
return
1463
;;
1464
--*)
1465
- __gitcomp "$__git_fetch_options"
1465
+ __gitcomp_builtin fetch "--no-tags"
1466
return
1467
;;
1468
esac