From f7021dbe0c518ae2f8608bb1efe33b115f0ec81e Mon Sep 17 00:00:00 2001 From: Jan Trejbal Date: Wed, 21 Jul 2021 14:41:02 +0200 Subject: [PATCH 1/2] Add .gitattributes with enforced LF --- .gitattributes | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000000..fb7e0d3ca88 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,8 @@ +*.ps1 text=auto eol=lf +*.sh text=auto eol=lf +*.bash text=auto eol=lf +build text=auto eol=lf +*.php text=auto eol=lf +*.php_cs text=auto eol=lf +*.html text=auto eol=lf +*.md text=auto eol=lf From 3d7707efe93df9c22924988b86bf8be490dbcc16 Mon Sep 17 00:00:00 2001 From: Jan Trejbal Date: Sat, 28 Jan 2023 11:00:38 +0100 Subject: [PATCH 2/2] simplify .gitattributes --- .gitattributes | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.gitattributes b/.gitattributes index fb7e0d3ca88..72e0f3e8182 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,8 +1,2 @@ -*.ps1 text=auto eol=lf -*.sh text=auto eol=lf -*.bash text=auto eol=lf -build text=auto eol=lf -*.php text=auto eol=lf -*.php_cs text=auto eol=lf -*.html text=auto eol=lf -*.md text=auto eol=lf +* text=auto +nuget/spec/fixtures/nuspecs/Microsoft.Extensions.DependencyModel.nuspec text eol=crlf