Commit 0399e7f
Bump: compare line-endings-insensitively in WriteIfDifferent
On Windows with autocrlf=true, files come out of git with CRLF while
ToNiceString() generates LF. The byte-level inequality caused
WriteIfDifferent to report "changed" for files git considers identical,
producing a no-op <<DEPENDENCIES_UPDATED>> commit that failed with
"nothing to commit" (Metalama.Vsx 2026.1 PrePublish 324426). Normalize
line endings before comparison to match git's view of file equality.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 9f5d9fb commit 0399e7f
1 file changed
Lines changed: 7 additions & 1 deletion
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
0 commit comments