fangorn/ex_git_objectstore
public
ref:main
feat: partial clone — promisor remote protocol support #53
open
Opened by cole.christensen@gmail.com
Links
No links yet.
We support server-side filter generation today (sparse:oid, blob:none, etc.) but don’t implement the promisor-remote contract for partial clones beyond basic filter application. A promisor remote can be asked later for missing objects.
Scope
- Serve
GET /objects/<sha>lazy-fetch requests. - Advertise
partial-clonecapability correctly. - Integrate with existing filter code so a client can clone blob:none, then later lazy-fetch a blob on demand.
Acceptance
git clone --filter=blob:none <url>followed bygit cat-file -p <blob-sha>succeeds (lazy fetch transparent).git fsckon the partial clone passes withpromisorsemantics.