Repository navigation
Commit 4a8d0f2
fix(server): branches whose names start with a parenthesis are no longer reported as detached
Git status --porcelain=v2 prints the literal (detached) for a detached
HEAD, so only that value means no branch. Storage cleanup's branch check
mirrored the old prefix test and now compares the checked-out branch as is.
Fixes #35753
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 1644982 commit 4a8d0f2
3 files changed
Lines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2618 | 2618 | | |
2619 | 2619 | | |
2620 | 2620 | | |
2621 | | - | |
2622 | | - | |
| 2621 | + | |
2623 | 2622 | | |
2624 | 2623 | | |
2625 | 2624 | | |
2626 | 2625 | | |
2627 | 2626 | | |
2628 | | - | |
2629 | | - | |
2630 | | - | |
2631 | | - | |
2632 | 2627 | | |
2633 | 2628 | | |
2634 | 2629 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
709 | | - | |
| 709 | + | |
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2325 | 2325 | | |
2326 | 2326 | | |
2327 | 2327 | | |
2328 | | - | |
| 2328 | + | |
2329 | 2329 | | |
2330 | 2330 | | |
2331 | 2331 | | |
| |||
0 commit comments