From def7da7fb32bbfe00cf3b1a7c15fab2ee4f733a3 Mon Sep 17 00:00:00 2001 From: Bailey Hayes Date: Thu, 11 Jun 2026 11:19:17 -0400 Subject: [PATCH] Add .gitattributes to normalize line endings to LF Enforce LF line endings repo-wide for all text files so contributors' local git config and editors can't introduce CRLF. A recent edit to proposals/http/wit-0.3.0-draft/worlds.wit was committed with CRLF endings, which made the entire file appear changed in diffs even on untouched lines. Signed-off-by: Bailey Hayes --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..6eb8f725 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# Normalize line endings to LF in the repository for all text files. +# Binary files are auto-detected and left untouched. +* text=auto eol=lf