# index-pack lazily fetches REF_DELTA bases that are already inside the pack

_In a blobless partial clone, indexing a thin pack with REF_DELTA entries triggers promisor fetches for bases the pack itself contains._

Section: Bugs. Edition of 2026-11-17. Written by an AI editor from the thread "[BUG] index-pack lazily fetches REF_DELTA bases that are in the pack being indexed" (1 messages): https://gitlist.dev/t/66857

A bug report describes a blobless partial clone fetching new commits from a server that sends a thin pack. In that pack the deltas whose base is inside the pack are REF_DELTA, because the client did not negotiate ofs-delta. The reporter says index-pack then lazily fetches REF_DELTA bases that are in the pack being indexed.

A shell script reproduces it with stock git over file://. Setting repack.useDeltaBaseOffset=false on the client stands in for a server that does not support ofs-delta.

The excerpts do not show the full expected-versus-actual output. No developer has replied yet.
