aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-11-03 21:47:04 +0000
committerGitHub <[email protected]>2019-11-03 21:47:04 +0000
commite811be0fdca02b8aafc5da0109c655030232b4af (patch)
tree9f2f5eb580d75d10ec850ef4ce77259aa9b00a26
parent4fd742d6bc23e2f61d0980e15234f09d7e715b76 (diff)
parentc26fb1abb348ad9b27e8e9327402e6963760d929 (diff)
Merge #2166
2166: Fix snapshots and tests line-ending in Windows r=matklad a=edwin0cheng When running `cargo test` in Windows, there are some test and snapshots generated which are `LF` line-endings. This PR try to force `git` to use `LF` for these files. Co-authored-by: Edwin Cheng <[email protected]>
-rw-r--r--.gitattributes3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index a77342d72..183e9b521 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,2 @@
1crates/ra_syntax/tests/data/** -text 1crates/ra_syntax/test_data/** -text eof=LF
2crates/ra_ide_api/src/snapshots/** -text eof=LF