From 3cd9ef0f86fe2cc920bfcf8194dcaf88a06d415c Mon Sep 17 00:00:00 2001 From: Pavel Koneski Date: Sun, 26 Jan 2025 14:53:07 -0800 Subject: [PATCH 1/2] Fix `.gitattributes` after restructuring --- .gitattributes | 4 ++-- src/core/IronPython.StdLib/.gitattributes | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitattributes b/.gitattributes index 5c5441dd2..b7a7ba911 100644 --- a/.gitattributes +++ b/.gitattributes @@ -14,8 +14,8 @@ *.ps1 text # Explicitly declare files that should not have line endings modified, ever -Tests/file_with_BOM.txt -text -Tests/file_without_BOM.txt -text +tests/suite/file_with_BOM.txt -text +tests/suite/file_without_BOM.txt -text # Declare files that will always have CRLF line endings on checkout. *.bat text eol=crlf diff --git a/src/core/IronPython.StdLib/.gitattributes b/src/core/IronPython.StdLib/.gitattributes index 73895670c..59ca9de07 100644 --- a/src/core/IronPython.StdLib/.gitattributes +++ b/src/core/IronPython.StdLib/.gitattributes @@ -18,15 +18,15 @@ *.zip binary # Specific binary files -Lib/test/sndhdrdata/sndhdr.* binary +lib/test/sndhdrdata/sndhdr.* binary # Text files that should not be subject to eol conversion -Lib/test/cjkencodings/* -text -Lib/test/decimaltestdata/*.decTest -text -Lib/test/test_email/data/*.txt -text -Lib/test/xmltestdata/* -text -Lib/test/coding20731.py -text -Lib/test/test_importlib/data01/* -text +lib/test/cjkencodings/* -text +lib/test/decimaltestdata/*.decTest -text +lib/test/test_email/data/*.txt -text +lib/test/xmltestdata/* -text +lib/test/coding20731.py -text +lib/test/test_importlib/data01/* -text # CRLF files *.bat text eol=crlf From d2242e386c94a0aa5496f1540d4fbf89dc2b5b60 Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Mon, 27 Jan 2025 07:37:20 +0000 Subject: [PATCH 2/2] Hide unnecessary files --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitattributes b/.gitattributes index b7a7ba911..699a864e1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -44,3 +44,6 @@ tests/suite/file_without_BOM.txt -text # Do not normalize on commit. *.pdf -text + +*.pck linguist-detectable=false +*.html linguist-documentation=true