mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-19 23:05:21 +00:00
A detached workspace's detachedCommitCount reads every branch, tag and remote-tracking ref, but local-branch and remote-ref changes were routed only to workspaces whose current branch, base or upstream named that ref. Moving the branch that held the detached commits, creating a branch at HEAD, or force-pushing the remote ref that held them left the cached count stale, so archiving could skip the warning. Route every branch and remote-ref change to detached workspaces with the structural refresh, which replaces the narrow-refresh guard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>