Files
opencode/packages
T
Kit Langton e1d210e20c fix(core): keep trailing blank lines a patch does not touch
derive() split the file into lines, dropped the terminating empty element, and
then restored a final newline only when the last line was not already empty.
A file ending in a blank line therefore lost that blank line on every update,
and a hunk adding an empty line at the end of a file had it silently dropped.
Always restoring the terminator preserves the file's own trailing newlines
while still adding one to a file that lacked it.
e1d210e20c · 2026-11-06 17:33:46 -08:00
History
..
…
…
…
…
…