gitdataai/libs/service/git
ZhenYi afb1bbeb71
Some checks are pending
CI / Rust Lint & Check (push) Waiting to run
CI / Rust Tests (push) Waiting to run
CI / Frontend Lint & Type Check (push) Waiting to run
CI / Frontend Build (push) Blocked by required conditions
fix(service): use default_branch for graph and reflog endpoints
- git_commit_graph: use default_branch when rev is None
- git_commit_graph_react: use default_branch when rev is None
- git_commit_reflog: fall back to default_branch when HEAD is detached

Fixes errors:
- reference 'refs/heads/master' not found (graph-react endpoint)
- HEAD has no name (reflog endpoint when HEAD is detached)
2026-04-17 16:36:44 +08:00
..
archive.rs init 2026-04-15 09:08:09 +08:00
blame.rs init 2026-04-15 09:08:09 +08:00
blob.rs fix(git): convert default_branch to full ref name (refs/heads/*) 2026-04-17 15:56:08 +08:00
blocking.rs init 2026-04-15 09:08:09 +08:00
branch_protection.rs init 2026-04-15 09:08:09 +08:00
branch.rs init 2026-04-15 09:08:09 +08:00
commit.rs fix(service): use default_branch for graph and reflog endpoints 2026-04-17 16:36:44 +08:00
contributors.rs fix(git): convert default_branch to full ref name (refs/heads/*) 2026-04-17 15:56:08 +08:00
diff.rs init 2026-04-15 09:08:09 +08:00
init.rs init 2026-04-15 09:08:09 +08:00
mod.rs init 2026-04-15 09:08:09 +08:00
refs.rs init 2026-04-15 09:08:09 +08:00
repo.rs fix(git): use repo.default_branch instead of HEAD to avoid master/branch mismatch 2026-04-17 15:13:08 +08:00
star.rs init 2026-04-15 09:08:09 +08:00
tag.rs init 2026-04-15 09:08:09 +08:00
tree.rs init 2026-04-15 09:08:09 +08:00
watch.rs init 2026-04-15 09:08:09 +08:00
webhook.rs init 2026-04-15 09:08:09 +08:00