Skip to content

Show actual path in branch-worktree mismatch warning - #1377

Merged
max-sixty merged 1 commit into
mainfrom
mismatch-warning
Mar 8, 2026
Merged

max-sixty merged 1 commit into
mainfrom
mismatch-warning

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

The mismatch warning previously only showed the expected path, leaving users
guessing what the actual location was. Now shows both.

Before: ▲ Branch-worktree mismatch; expected feature @ ~/workspace/project.feature ⚑
After: ▲ Branch-worktree mismatch: feature @ ~/w/project.alias, expected @ ~/workspace/project.feature ⚑

This was written by Claude Code on behalf of @max-sixty

The mismatch warning previously only showed the expected path, making it
unclear what the actual mismatch was. Now shows both actual and expected
locations.

Before: ▲ Branch-worktree mismatch; expected feature @ ~/workspace/project.feature ⚑
After:  ▲ Branch-worktree mismatch: feature @ ~/w/project.alias, expected @ ~/workspace/project.feature ⚑

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty merged commit cc038ed into main Mar 8, 2026
22 checks passed
@max-sixty
max-sixty deleted the mismatch-warning branch March 8, 2026 23:09
max-sixty added a commit that referenced this pull request Mar 9, 2026
Resolve conflicts in format_path_mismatch_warning (3-arg signature from
#1377) and path mismatch warning snapshots.

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants