From 4a573fcae6f58ca036268a5269e2d753ccc40976 Mon Sep 17 00:00:00 2001 From: brendan fattig Date: Tue, 12 May 2026 16:10:33 -0500 Subject: [PATCH 1/2] Modify .gitattributes for line endings and exclusions Updated .gitattributes to normalize line endings and exclude additional files from git archive exports. --- .gitattributes | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/.gitattributes b/.gitattributes index 710b83c8e..a206534b1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,19 +1,25 @@ +# Normalize line endings to LF in the repo; check out as LF on all platforms +* text=auto eol=lf + +# Windows batch files require CRLF to work correctly with cmd.exe +*.bat text eol=crlf + +# Binary files — suppress line-ending conversion and text diffs +# Office/presentation formats are excluded from git archive exports +*.png binary +*.gif binary +*.jpg binary +*.pdf binary export-ignore +*.ppt binary export-ignore +*.pptx binary export-ignore +*.doc binary export-ignore + +# Exclude from git archive exports .gitattributes export-ignore .gitignore export-ignore -make_changelog export-ignore -Basics_of_Program_Memory_and_Variables.ppt export-ignore -Compiling_and_Linking_Overview.ppt export-ignore -Trick_Advanced_Topics.pptx export-ignore -Trick_Software_Design_Document.doc export-ignore -Trick_Software_Development_Plan.doc export-ignore -Trick_Software_Quality_Assurance_Plan.doc export-ignore -Trick_Software_Requirement_Specification.doc export-ignore -Trick_Tutorial_Review.pptx export-ignore -design.doc export-ignore -tutorial.doc export-ignore -users_guide.html export-ignore -MonteCarlo_Presentation.pptx export-ignore -Trick_07_to_10.pptx export-ignore -trick_source/data_products/DPX/test export-ignore +trick_source/data_products/DPX/test/** export-ignore +share/doc/trick/users_guide.html export-ignore + +# GitHub Linguist configure linguist-generated=true *.dr linguist-language=Python From 178b7f20b876630726a0d6275bec3d8370e6b924 Mon Sep 17 00:00:00 2001 From: brendan fattig Date: Thu, 14 May 2026 11:16:13 -0500 Subject: [PATCH 2/2] Restore `make_changelog` and add `.github` --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitattributes b/.gitattributes index a206534b1..4d0019849 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,6 +17,8 @@ # Exclude from git archive exports .gitattributes export-ignore .gitignore export-ignore +.github/** export-ignore +libexec/trick/make_changelog export-ignore trick_source/data_products/DPX/test/** export-ignore share/doc/trick/users_guide.html export-ignore