gitdataai/libs/git
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
..
archive init 2026-04-15 09:08:09 +08:00
blame init 2026-04-15 09:08:09 +08:00
blob init 2026-04-15 09:08:09 +08:00
branch fix(git): multiple branch and upstream query bugs 2026-04-17 16:30:58 +08:00
commit fix(git): use repo.default_branch instead of HEAD to avoid master/branch mismatch 2026-04-17 15:13:08 +08:00
config init 2026-04-15 09:08:09 +08:00
description init 2026-04-15 09:08:09 +08:00
diff init 2026-04-15 09:08:09 +08:00
hook fix(git): multiple branch and upstream query bugs 2026-04-17 16:30:58 +08:00
http fix(git/hook): refine Redis queue worker, remove dead code, fix warnings 2026-04-17 13:05:07 +08:00
lfs init 2026-04-15 09:08:09 +08:00
merge init 2026-04-15 09:08:09 +08:00
reference init 2026-04-15 09:08:09 +08:00
ssh fix(git/hook): refine Redis queue worker, remove dead code, fix warnings 2026-04-17 13:05:07 +08:00
tags init 2026-04-15 09:08:09 +08:00
tree init 2026-04-15 09:08:09 +08:00
Cargo.toml fix(git): downgrade russh to 0.50.4, remove flate2 feature, fix log format 2026-04-16 20:58:01 +08:00
domain.rs init 2026-04-15 09:08:09 +08:00
error.rs init 2026-04-15 09:08:09 +08:00
lib.rs feat(git): add Redis-backed hook worker with per-repo distributed locking 2026-04-17 12:33:58 +08:00
ref_utils.rs init 2026-04-15 09:08:09 +08:00