On Fri, Dec 14, 2018 at 12:08:02PM +0100, Ævar Arnfjörð Bjarmason wrote: > Also, parts of the v2 code, e.g. this in 685fbd3291 ("fetch-pack: > perform a fetch using v2", 2018-03-15): > > /* v2 supports these by default */ > allow_unadvertised_object_request |= ALLOW_REACHABLE_SHA1; > > Seem to have intended to turn on allowReachableSHA1InWant, not > allowAnySHA1InWant, but apparently that's what we're doing? That I don't know. Maybe Brandon can answer what the intent was. I agree that turning on the reachability check would make it behavior more or less the same as v0 (at some additional cost to walk the refs again, but v0 smart-http already had to do that). -Peff