From b7422fa873eba66a378351b94be8223a988c3ca6 Mon Sep 17 00:00:00 2001 From: James Tucker Date: Mon, 22 Jun 2026 14:40:53 -0700 Subject: [PATCH] .gitattributes: explicitly mark text files as such with eol I'm not keen on us having to deal with the bad side effects of the autocrlf default, but alas, if it makes things easier. Fixes #16175 Closes #16176 Signed-off-by: James Tucker --- .gitattributes | 62 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 60 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 3eb528782..89734e2ba 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,60 @@ -go.mod filter=go-mod -*.go diff=golang +go.mod filter=go-mod eol=lf text +*.go diff=golang eol=lf text +*.adml eol=lf text +*.admx eol=lf text +*.bash eol=lf text +*.c eol=lf text +*.cgi eol=lf text +*.conf eol=lf text +*.css eol=lf text +*.csv eol=lf text +*.desktop eol=lf text +*.fish eol=lf text +*.gitattributes eol=lf text +*.gitignore eol=lf text +*.gitkeep eol=lf text +*.go eol=lf text +*.h eol=lf text +*.helmignore eol=lf text +*.htaccess eol=lf text +*.html eol=lf text +*.hujson eol=lf text +*.in eol=lf text +*.init eol=lf text +*.js eol=lf text +*.json eol=lf text +*.lock eol=lf text +*.lua eol=lf text +*.md eol=lf text +*.mod eol=lf text +*.nix eol=lf text +*.openrc eol=lf text +*.pbxproj eol=lf text +*.pem eol=lf text +*.plg eol=lf text +*.plist eol=lf text +*.rc eol=lf text +*.resolved eol=lf text +*.rev eol=lf text +*.rs eol=lf text +*.sc eol=lf text +*.service eol=lf text +*.sh eol=lf text +*.socket eol=lf text +*.stignore eol=lf text +*.sum eol=lf text +*.svg eol=lf text +*.swift eol=lf text +*.tmpl eol=lf text +*.toml eol=lf text +*.ts eol=lf text +*.tsx eol=lf text +*.txt eol=lf text +*.version eol=lf text +*.xcscheme eol=lf text +*.xcsettings eol=lf text +*.xib eol=lf text +*.xml eol=lf text +*.yaml eol=lf text +*.yml eol=lf text +*.zsh eol=lf text