[PATCH 0/2] Partial clone fix: handling received REF_DELTA
- Date: Tue, 14 May 2019 14:10:53 -0700
- From: Jonathan Tan <jonathantanmy@xxxxxxxxxx>
- Subject: [PATCH 0/2] Partial clone fix: handling received REF_DELTA
There is an issue when fetching into a partial clone, and the server
sends a REF_DELTA object that is based on a missing promisor object.
Here is a fix; more details are in the commit message of patch 2.
Jonathan Tan (2):
t5616: refactor packfile replacement
index-pack: prefetch missing REF_DELTA bases
builtin/index-pack.c | 26 ++++++++++-
t/t5616-partial-clone.sh | 95 ++++++++++++++++++++++++++++++++++------
2 files changed, 106 insertions(+), 15 deletions(-)