In a blobless clone, `git log -p` and `git blame` are painfully slow, and offline they fail with `fatal: could not fetch 3f2a9c... from promisor remote`.
AdvancedTroubleshootingRepository Health, Size and Performance
Answer
Likely causes → The repo was cloned with --filter=blob:none. Historical blobs are fetched lazily from the promisor remote the first time a command needs them, often one round-trip at a time. Without network, or with the remote gone, those commands fail.
Diagnose →
git config --get remote.origin.promisor
git config --get remote.origin.partialclonefilter
Fix → For history-heavy work, backfill the blobs once:
git fetch --refetch origin # Git 2.36+: refetch everything, dropping the filter
git config --unset remote.origin.partialclonefilter
Or use a treeless/blobless clone only on CI and a full clone for developers who blame and bisect a lot.
Prevent → Pick the clone type per use case: blob:none for build agents and quick checkouts, full clones for archaeology.
More on Repository Health, Size and Performance
`git status` takes 8–15 seconds in a large monorepo.Intermediate`error: The last gc run reported the following. Please correct the root cause and remove .git/gc.log` followed by `warning: There are too many unreachable loose objects; run 'git prune' to remove them.`IntermediateEvery few commands Git prints `Auto packing the repository in background for optimum performance.` and the machine stutters.BeginnerA fresh clone downloads 4 GB, but the checked-out files are only 200 MB.Intermediate`git gc` or `git clone` dies with `fatal: Out of memory, malloc failed (tried to allocate 1073741824 bytes)` or `error: pack-objects died of signal 9`.Advanced`error: unable to create temporary file: No space left on device` followed by `fatal: failed to write object`.Beginner