gitdataai/libs/git/hook/sync
ZhenYi a4dc507b66 fix(git): multiple branch and upstream query bugs
1. branch_list: Fix is_head comparison
   - head_name now keeps full ref (e.g., "refs/heads/main")
   - Previously stripped to short name causing is_head to always be false

2. branch_get/branch_exists: Fix name resolution for branches with '/'
   - Previously, "feature/testing" was assumed to be a remote branch
   - Now tries both refs/heads/ and refs/remotes/ candidates
   - Correctly handles local branches like "feature/testing"

3. sync_refs: Fix upstream reference format
   - Was storing "refs/remotes/{}/branch" (broken pattern)
   - Now properly queries git2 for actual upstream branch name
2026-04-17 16:30:58 +08:00
..
branch.rs fix(git/hook): address review findings — webhooks, git2 Send, touch_count, rollback 2026-04-17 13:44:33 +08:00
commit.rs fix(git): multiple branch and upstream query bugs 2026-04-17 16:30:58 +08:00
fsck.rs fix(git/hook): address review findings — webhooks, git2 Send, touch_count, rollback 2026-04-17 13:44:33 +08:00
gc.rs fix(git/hook): address review findings — fs blocking, redis timeout, backoff, slog 2026-04-17 13:20:31 +08:00
lfs.rs init 2026-04-15 09:08:09 +08:00
lock.rs fix(git/hook): refine Redis queue worker, remove dead code, fix warnings 2026-04-17 13:05:07 +08:00
mod.rs fix(git/hook): address review findings — fs blocking, redis timeout, backoff, slog 2026-04-17 13:20:31 +08:00
tag.rs fix(git/hook): make sync_tags Send-safe by collecting git2 data synchronously 2026-04-17 13:48:05 +08:00