fangorn/ex_git_objectstore
public
ref:main
Implement REF_DELTA resolution for thin packs #3
closed
Opened by cole.christensen@gmail.com
Links
No links yet.
Problem
The pack reader has scaffolding for REF_DELTA but does not fully resolve them. Thin packs generated by git fetch or git push use REF_DELTA entries referencing objects the receiver already has. Without resolution, these packs fail to import.
Impact
- Real-world clone/fetch interop is broken for thin packs
- Limits usefulness as a git server receiving pushes from standard git clients
Acceptance Criteria
- REF_DELTA objects resolved against the local object store
- Thin packs from
git pushare correctly imported - Thin packs from
git fetchare correctly consumed - Interop test:
git clone→ modify →git pushround-trip works - Error handling for missing base objects returns clear error