From 07c06705887efb5ae3cd2cf58dadd548b883d302 Mon Sep 17 00:00:00 2001 From: Andrew Kroh Date: Mon, 29 Apr 2019 18:32:15 -0400 Subject: [PATCH] Treat files a binary to keep LF on Windows --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..875f4996 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# Treat all files in the Go repo as binary, with no git magic updating +# line endings. Windows users contributing to Go will need to use a +# modern version of git and editors capable of LF line endings. + +* -text