forked from mirrors/jj
5b84e192fc
I ran into a tool that produced a `.gitignore` file with CRLF line endings. I had not considered that case when implementing support for `.gitignore`, so we interpreted the CR as part of the string, which of course made the files not match. This patch fixes the bug by ignoring a single CR at EOL. That seems to be what Git does (I didn't see any information about it in the documentation). |
||
---|---|---|
.. | ||
benches | ||
protos | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |