You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bend-lint previews drop CRLF from changed lines #2306
Rendered a bend-lint fix that replaces a value on a CRLF line (without touching the line ending). Then I saved the unified diff and ran git apply --check --unidiff-zero -p0 against the same file.
What happened
The diff contains LF on both the - and + lines, even though the corresponding source and replacement lines both have CRLF. Git cannot match the removed line (patch does not apply). The same omission makes an LF-only conversion look like an identical removed and added line.
bend --version
2.0.40, main at 966bbb74.
uname -sm
Linux x86_64.
clang --version (the first line)
clang version 22.1.8. Bun 1.4.4 ran bend-lint; the native compiler wasn't involved.
Activity