From 08d0dafd13965af93d26862ae2d20b4fd3c6aa71 Mon Sep 17 00:00:00 2001 From: NickSdot Date: Sat, 5 Sep 2026 22:44:43 +0800 Subject: [PATCH 1/2] chore: added unified .gitattributes --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..6313b56c5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf From ce4f6d8edb17f65af20ffad45161623ffb74cbc5 Mon Sep 17 00:00:00 2001 From: Luffy Date: Sun, 13 Sep 2026 13:24:03 +0800 Subject: [PATCH 2/2] Update .gitattributes for XML file detection --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitattributes b/.gitattributes index 6313b56c5..37b6a6b93 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,4 @@ * text=auto eol=lf + +*.xml linguist-detectable +*.ent linguist-language=XML linguist-detectable