Files
orca/src/renderer
9d82dbabe3 fix: sync worktree card title on terminal branch switch (#2895)
* fix: sync worktree card title on terminal branch switch

When a worktree has no custom name, mergeWorktree derives its displayName
from the branch. A branch switch made in a terminal reaches the renderer
only via the git-status poll, which patched branch/head but never the
derived title — leaving the card title frozen on the old branch name while
the subtitle correctly updated.

updateWorktreeGitIdentity now re-derives displayName from the new branch
when the title was auto-derived (matches the old branch), and leaves
user-set custom names untouched.

* fix: reuse branch display name helper

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
Co-authored-by: Orca <help@stably.ai>
2026-05-28 19:58:07 -04:00
..
2026-03-17 01:40:24 -07:00
2026-05-15 05:44:25 -04:00