Repository navigation
Commit feee9a2
fix(server): fall back to the project folder only for the unborn branch itself
No local branches still leaves remote-tracking refs that Git resolves in
bases like origin/main...origin/other. Take the project-folder fallback
only when the base is the unborn branch HEAD points at (or HEAD) and it
has no commit; Git resolves every other base, as on main.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent ca8f60f commit feee9a2
2 files changed
Lines changed: 20 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1292 | 1292 | | |
1293 | 1293 | | |
1294 | 1294 | | |
1295 | | - | |
| 1295 | + | |
1296 | 1296 | | |
1297 | 1297 | | |
1298 | | - | |
| 1298 | + | |
| 1299 | + | |
1299 | 1300 | | |
| 1301 | + | |
1300 | 1302 | | |
1301 | | - | |
| 1303 | + | |
1302 | 1304 | | |
1303 | 1305 | | |
1304 | 1306 | | |
| |||
1329 | 1331 | | |
1330 | 1332 | | |
1331 | 1333 | | |
1332 | | - | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
1333 | 1340 | | |
1334 | 1341 | | |
1335 | 1342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
565 | 565 | | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
571 | 569 | | |
572 | 570 | | |
573 | 571 | | |
| |||
0 commit comments