Repository navigation
Commit e67b395
fix(server): checkpoint diffs ignore diff.relative in subdirectory projects
A user's diff.relative=true makes git diff and log print paths relative to
the project's subdirectory cwd. Checkpoint numstat and authored-path reads
then returned cwd-relative paths, and the :(top,literal) pathspecs built
from them matched nothing, so a filtered turn diff came back empty. Run
both reads with -c diff.relative=false. The --no-relative flag would do the
same, but Git before 2.28 rejects it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 5fe18d7 commit e67b395
2 files changed
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
| 434 | + | |
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| 438 | + | |
438 | 439 | | |
439 | 440 | | |
440 | 441 | | |
| |||
447 | 448 | | |
448 | 449 | | |
449 | 450 | | |
| 451 | + | |
| 452 | + | |
450 | 453 | | |
451 | 454 | | |
452 | 455 | | |
| |||
455 | 458 | | |
456 | 459 | | |
457 | 460 | | |
| 461 | + | |
458 | 462 | | |
459 | 463 | | |
| 464 | + | |
460 | 465 | | |
461 | 466 | | |
462 | 467 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1366 | 1366 | | |
1367 | 1367 | | |
1368 | 1368 | | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
1369 | 1372 | | |
1370 | 1373 | | |
1371 | 1374 | | |
| |||
1422 | 1425 | | |
1423 | 1426 | | |
1424 | 1427 | | |
1425 | | - | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
1426 | 1437 | | |
1427 | 1438 | | |
1428 | 1439 | | |
| |||
0 commit comments