Commit cbc41ac
Platform-gate the main-checkout identity compare in worktree removal
Copilot on #3574: the guard lowercased both paths unconditionally while
find_worktree ten lines up gates the case fold on Windows - on a
case-sensitive filesystem, case-differing paths were wrongly equated and
a legitimate deletion refused as "main". Same gate as the sibling now.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012kHBtxNVFeNDxBphkfUAzg1 parent d41cf11 commit cbc41ac
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
758 | | - | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
759 | 765 | | |
760 | 766 | | |
761 | 767 | | |
| |||
0 commit comments