From 96579b97f687c95aeb85f09029d48122d84c668e Mon Sep 17 00:00:00 2001 From: linquize Date: Mon, 23 Sep 2019 04:17:16 +0800 Subject: [PATCH] gitattributes: go.mod, go.sum always eol=lf (#2753) --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitattributes b/.gitattributes index 2e507785..0cfea0b8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -9,6 +9,8 @@ # go fmt will enforce this, but in case a user has not called "go fmt" allow GIT to catch this: *.go text eol=lf core.whitespace whitespace=indent-with-non-tab,trailing-space,tabwidth=4 +go.mod text eol=lf +go.sum text eol=lf *.txt text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2 *.tpl text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2