On Wed, Apr 22, 2020 at 08:50:47AM -0700, Jonathan Nieder wrote: > This reverts commit 684ceae32dae726c6a5c693b257b156926aba8b7. > > Users fetching from linux-next and other kernel remotes are reporting > that the limited ref advertisement causes negotiation to reach > MAX_IN_VAIN, resulting in too-large fetches. OK, now that we have data I think this strategy is reasonable. That said, it will take a while to make it to a release, so we very well may have brought v2 and v0 to parity in the meantime. > > To get you unstuck, the immediate workaround is to drop back to the > > older protocol, like: > > > > git -c protocol.version=0 fetch --all > > By the way, I'd recommend the immediate workaround of > > git fetch --negotiation-tip=refs/remotes/xo/* xo > > instead. But that's a separate subject. It seems like if we are fetching with refspec X/*:Y/* that we should perhaps automatically select our local Y/* negotiation tips. That said, neither it (nor the manual version above) would help the case I've been testing with. It's a first fetch from "xo", which can reuse history we already have from other remotes. I agree it's a good workaround for folks doing their daily fetches, though. -Peff