[PATCH 0/2] Partial clone fix: handling received REF_DELTA
- From
- Jonathan Tan <jonathantanmy@google.com>
- Date
- May 14, 2019, 21:10 UTC
- Message-ID
- <cover.1557868134.git.jonathantanmy@google.com>
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(-)
-- 2.21.0.1020.gf2820cf01a-goog