Commit cff083c
Distinguish git diff exit codes in carry-forward detection
Exit 1 means "file is dirty" and should return false immediately,
not fall through to raw blob hashing which can re-introduce the
autocrlf mismatch. Only fall back to blob hash on actual git
failures (exit 128+, timeout).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Entire-Checkpoint: e4ee6688a68c1 parent 592a460 commit cff083c
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
529 | 530 | | |
530 | 531 | | |
531 | 532 | | |
532 | | - | |
| 533 | + | |
| 534 | + | |
533 | 535 | | |
534 | 536 | | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
535 | 542 | | |
536 | 543 | | |
537 | 544 | | |
| |||
0 commit comments