gitdataai/libs
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
..
agent feat(service): improve model sync and harden git HTTP/SSH stability 2026-04-17 00:13:40 +08:00
agent-tool-derive init 2026-04-15 09:08:09 +08:00
api fix(api): fix branch route order to prevent shadowing 2026-04-17 16:11:23 +08:00
avatar init 2026-04-15 09:08:09 +08:00
config fix(git/hook): address review findings — fs blocking, redis timeout, backoff, slog 2026-04-17 13:20:31 +08:00
db init 2026-04-15 09:08:09 +08:00
email init 2026-04-15 09:08:09 +08:00
frontend feat(frontend): embed SPA assets into app binary at compile time 2026-04-17 12:04:34 +08:00
git fix(git): multiple branch and upstream query bugs 2026-04-17 16:30:58 +08:00
migrate refactor(room): remove NATS, use Redis pub/sub for message queue 2026-04-16 17:24:04 +08:00
models refactor(room): remove NATS, use Redis pub/sub for message queue 2026-04-16 17:24:04 +08:00
queue refactor(room): remove NATS, use Redis pub/sub for message queue 2026-04-16 17:24:04 +08:00
room fix(room): add edit rollback, clean stream channels on room shutdown/idle 2026-04-16 19:28:23 +08:00
rpc init 2026-04-15 09:08:09 +08:00
service fix(git): convert default_branch to full ref name (refs/heads/*) 2026-04-17 15:56:08 +08:00
session init 2026-04-15 09:08:09 +08:00
transport init 2026-04-15 09:08:09 +08:00
webhook init 2026-04-15 09:08:09 +08:00