From eedb97abd967ee92a4d338964df1411c4e65d72c Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Tue, 3 Dec 2019 12:05:53 +1100 Subject: [PATCH] Always set go.sum/go.mod line endings as LF Saves having Windows users experience pain and suffering as documented here: https://github.com/golang/go/issues/31870 --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000000..4fea60b9530 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +go.mod text eol=lf +go.sum text eol=lf \ No newline at end of file