diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..a2e63bb4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +# Check text out with LF everywhere, so Windows checkouts keep runnable bash +# scripts and the LF-anchored source regexes in tests. Batch files are the +# exception: cmd.exe can miss goto/call labels in LF-only batch files. +* text=auto eol=lf +*.bat text eol=crlf +*.cmd text eol=crlf