mirror of
https://github.com/brunopostle/ifcurl.git
synced 2026-07-12 10:18:14 +00:00
Implements ifcurl-4d4. _compute_genesis() runs git rev-list --max-parents=0 HEAD to find the root commit(s); get_genesis_commit() wraps it with a per-remote disk cache (~/.cache/ifcurl/<hash>/genesis_commit) so the git command only runs once per repo. For multi-root repos the lexicographically smallest hexsha is chosen for a stable result. Local repos compute fresh on each call. Exported from __init__. Unblocks local repo discovery (ifcurl-egi). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| test_auth.py | ||
| test_bcf.py | ||
| test_bcf_api.py | ||
| test_diff.py | ||
| test_documents_api.py | ||
| test_git.py | ||
| test_render.py | ||
| test_sandbox.py | ||
| test_service.py | ||
| test_url.py | ||
| test_viewer_url.mjs | ||