[Bug] Claude fails to detect open PRs when worktree branch name differs from upstream tracking branch

Status Closed — not planned
Reported on v2.1.79
Maintainer reply None cached
Activity 2 comments · opened Mar 19, 2026 · closed Apr 16, 2026

Bug Description
When worktree branches are pushed to origin with different names (because the default name is ugly) then Claude doesn't detect open PRs. Claude doesn't associate the upstream tracking branch and instead appears to rely on the branch name explicitly.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.79
  • Feedback ID: 14c11e9c-6e8b-4061-a9e0-9927064c67f1

Errors

[]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗