Re: Git wire protocol v2 fails fetching shallow changes with `pack has XXX unresolved deltas` on large repos with lots of tags Inbox x
- From
- Jonathan Tan <jonathantanmy@google.com>
- Date
- Oct 17, 2018, 20:53 UTC
- Message-ID
- <20181017205340.190036-1-jonathantanmy@google.com>
- In-Reply-To
- <CAGY-PBgsG-T3JY=awszwGMpFx+jDx-a1FcV0s6vR067bSqgZaA@mail.gmail.com>
Show 5 quoted lines
> No changes are needed in mirrored repository. Crash happens both with > 2.18.0 and 2.19.1 git versions. Having repository locally is not > required but reduces test runtime, you can quite reliably reproduce > issue when fetching over net directly from chromium.orgbypassing > mirroring step.
Do you have the reproduction steps for this? If I run
git -c protocol.version=2 fetch --tags \
https://chromium.googlesource.com/chromium/src \
+refs/heads/*:refs/remotes/origin/* --depth=1repeatedly in the same repository, it succeeds. (And I've checked with GIT_TRACE_PACKET that it uses protocol v2.)