Mark a test as binary for git#157183
Conversation
Otherwise git will keep changing the CRLF back to LF.
|
This PR modifies |
|
r? @JohnTitor rustbot has assigned @JohnTitor. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
@bors rollup |
|
Perhaps tidy should check that all ignore-tidy-cr files are marked as binary in .gitattributes and that non-existent files aren't referenced by .gitattributes. |
I was gonna suggest the same thing. |
Opened #157184 as a follow-up issue. |
|
@bors r=JohnTitor p=1 (Breaks |
|
⌛ Testing commit 7a8a90b with merge 9e293ae... Workflow: https://github.com/rust-lang/rust/actions/runs/26709782266 |
Mark a test as binary for git Otherwise git will keep changing the CRLF back to LF. Regression from #157176
|
Another approach for stopping such issues in the future would be to make it a run-make test that generates the source file from a Rust string literal, so the \r character is never in the source code at all. |
|
@bors p=5 (in case this bounces) |
|
@bors p=15 go big or go home |
Otherwise git will keep changing the CRLF back to LF.
Regression from #157176