]> git.ipfire.org Git - thirdparty/git.git/commit
fetch: reject --no-ipv[46]
authorJunio C Hamano <gitster@pobox.com>
Tue, 18 Jul 2023 21:45:59 +0000 (14:45 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Jul 2023 21:47:30 +0000 (14:47 -0700)
commita2dad4868bf0681f63fe10264c171b5a547324a5
tree9c32b007da84ebd4255cecdbaf7f0267c14b5995
parentae2c912c04cf9902653409d686ca6d5017c3906f
fetch: reject --no-ipv[46]

Now we have introduced OPT_IPVERSION(), tweak its implementation so
that "git clone", "git fetch", and "git push" reject the negated
form of "Use only IP version N" options.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.h
t/t5516-fetch-push.sh