fangorn/ex_git_objectstore
public
ref:main
Add shallow clone support #7
open
Opened by cole.christensen@gmail.com
Links
No links yet.
Problem
No support for shallow clones (--depth N). Every fetch must download the full commit history, which is prohibitive for large repositories.
Impact
- CI systems and deployment scripts can’t do fast shallow clones
- Bandwidth and time wasted downloading irrelevant history
- Common git workflow pattern unsupported
Acceptance Criteria
- Upload-pack supports
shallowanddeepencapabilities - Client can request depth-limited history
- Shallow boundary tracked (
.git/shallowequivalent) - Subsequent fetches can deepen or unshallow
- Interop test:
git clone --depth 1works against this server