From: Junio C Hamano Date: Fri, 14 Dec 2018 02:18:30 GMT Subject: Re: [PATCH v2 8/8] tests: mark tests broken under GIT_TEST_PROTOCOL_VERSION=2 Message-ID: In-Reply-To: <87pnu51kac.fsf@evledraar.gmail.com> Ævar Arnfjörð Bjarmason writes: >> + # Other protocol versions (e.g. 2) allow fetching an unadvertised >> + # object, so run this test with the default protocol version (0). >> + test_must_fail env GIT_TEST_PROTOCOL_VERSION= git -C client fetch-pack ../server \ >> $(git -C server rev-parse refs/heads/master^) 2>err && > > What? So the equivalent of uploadpack.allowAnySHA1InWant=true is on for > v2 all the time? UnfortunatelyYes (see Peff's three-patch series).