For partial clones — pull objects on demand.
Lazily fetch missing blobs in a partial clone. Used after --filter=blob:none clones to materialize content on demand.
Backfill walks the index (or the sparse cone), finds entries whose blob SHA is not present locally, and asks the promisor remote (the one set during --filter clone) for them in batches. The object DB is grown until the working tree can be materialized.
git backfill [--batch-size=<n>] [--min-batch-size=<n>] [--[no-]sparse]| Flag | What it does |
|---|---|
--batch-size=<n> | Group requests in batches of <n>. |
--sparse | Honor sparse-checkout — only backfill what would be checked out. |
$ git backfill --sparseHit each option, then Check answers. Score is recorded; Next is always open.