From 80969817fa948bfff4cdfa53acc96e7ac390af69 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 20 Nov 2022 18:43:19 +0300 Subject: added .gitattributes to disable automatic EOL transformations by Git * These caused problems on Windows where it would check out Groff *.tmac files with CRLF linefeeds, causing lots of bogus warnings in the CI build logs. * Who knows what kinds of problems this could cause with SciTECO macros (*.tes). * In general, there is no reason not to use exactly the linefeeds committed into the repository, so most files should be checked out with LF even on Windows. It may be necessary to use CRLF on Windows-only files, but even sciteco.rc currently works with Unix linebreaks. --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitattributes (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..a800383 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +# Disable automatic line ending changes on checkout. +# For instance on *.tmac files, this causes a lot of bogus warnings. +# Instead use the exact same line endings committed into the repo. +* -text -- cgit v1.2.3