Repository navigation
Commit 7e65de2
Mark origin default ref as default when no local copy exists
listRefs only flagged local branches as isDefault, so the new
default-branch worktree base selection fell back to the checked-out
branch when the local default branch had been deleted. Flag the
origin/<default> remote ref too, derived from origin/HEAD.
Co-Authored-By: Claude Fable 5 <[email protected]>1 parent df9fea5 commit 7e65de2
2 files changed
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
526 | 546 | | |
527 | 547 | | |
528 | 548 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2202 | 2202 | | |
2203 | 2203 | | |
2204 | 2204 | | |
2205 | | - | |
| 2205 | + | |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
2206 | 2211 | | |
2207 | 2212 | | |
2208 | 2213 | | |
| |||
0 commit comments