From 88d96d133b88f328f2f71819b2cc81d99dcb2acf Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Wed, 10 Apr 2024 10:02:15 +0200 Subject: [PATCH] Add go mod and sum to gitattributes for consistent line endings --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitattributes b/.gitattributes index 35157cfda..8aa2a2385 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,7 @@ +# Go writes go.mod and go.sum with lf even on windows +go.mod text eol=lf +go.sum text eol=lf + # Ignore generated files in GitHub language statistics and diffs /MANUAL.* linguist-generated=true /rclone.1 linguist-generated=true