Commit graph

1 commit

Author SHA1 Message Date
Petr Houška
a69ff894e4 fix(coding-agent): edit keeps line endings of untouched lines, diffs before writing
Edits are spliced into the original text, so lines the edit did not touch
keep their CRLF, LF or lone CR endings. The diff and patch are computed
before the file is written, so a failure there, such as running out of
memory on a large file, leaves the file unchanged.

fixes #8544
2026-11-06 00:34:41 +01:00