From 20a4ca0f9446ab20e1c03177a510436841e724a0 Mon Sep 17 00:00:00 2001 From: Sammy-T Date: Sun, 19 Oct 2025 16:39:57 -0400 Subject: [PATCH 1/2] Add gitattributes Signed-off-by: Sammy-T --- .gitattributes | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..3238807 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,82 @@ +# Normalize line endings for files detected as text +* text=auto + +# Source +*.go text diff=golang +*.html text diff=html +*.css text diff=css +*.js text + +# Go module files +*.mod text eol=lf +*.sum text eol=lf + +# Config +*.json text + +# Graphics +*.ai binary +*.bmp binary +*.eps binary +*.gif binary +*.gifv binary +*.ico binary +*.jng binary +*.jp2 binary +*.jpg binary +*.jpeg binary +*.jpx binary +*.jxr binary +*.pdf binary +*.png binary +*.psb binary +*.psd binary +# SVG treated as an asset (binary) by default. +# *.svg text +# If you want to treat it as binary, +# use the following line instead. +*.svg binary +*.svgz binary +*.tif binary +*.tiff binary +*.wbmp binary +*.webp binary + +# Scripts +*.bash text eol=lf +*.fish text eol=lf +*.ksh text eol=lf +*.sh text eol=lf +*.zsh text eol=lf +# These are explicitly windows files and should use crlf +*.bat text eol=crlf +*.cmd text eol=crlf +*.ps1 text eol=crlf + +# Documentation +*.markdown text diff=markdown +*.md text diff=markdown +*.mdwn text diff=markdown +*.mdown text diff=markdown +*.mkd text diff=markdown +*.mkdn text diff=markdown +*.mdtxt text +*.mdtext text +*.txt text +AUTHORS text +CHANGELOG text +CHANGES text +CONTRIBUTING text +COPYING text +copyright text +*COPYRIGHT* text +INSTALL text +license text +LICENSE text +NEWS text +readme text +*README* text +TODO text + +# Ignore files +*.*ignore text From b4ba0061bc97d3e37c8e99c5f9cc3cf081dffdfa Mon Sep 17 00:00:00 2001 From: Sammy-T Date: Mon, 20 Oct 2025 00:22:51 -0400 Subject: [PATCH 2/2] Trim to a minimal gitattributes Signed-off-by: Sammy-T --- .gitattributes | 86 +++----------------------------------------------- 1 file changed, 4 insertions(+), 82 deletions(-) diff --git a/.gitattributes b/.gitattributes index 3238807..6eae366 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,82 +1,4 @@ -# Normalize line endings for files detected as text -* text=auto - -# Source -*.go text diff=golang -*.html text diff=html -*.css text diff=css -*.js text - -# Go module files -*.mod text eol=lf -*.sum text eol=lf - -# Config -*.json text - -# Graphics -*.ai binary -*.bmp binary -*.eps binary -*.gif binary -*.gifv binary -*.ico binary -*.jng binary -*.jp2 binary -*.jpg binary -*.jpeg binary -*.jpx binary -*.jxr binary -*.pdf binary -*.png binary -*.psb binary -*.psd binary -# SVG treated as an asset (binary) by default. -# *.svg text -# If you want to treat it as binary, -# use the following line instead. -*.svg binary -*.svgz binary -*.tif binary -*.tiff binary -*.wbmp binary -*.webp binary - -# Scripts -*.bash text eol=lf -*.fish text eol=lf -*.ksh text eol=lf -*.sh text eol=lf -*.zsh text eol=lf -# These are explicitly windows files and should use crlf -*.bat text eol=crlf -*.cmd text eol=crlf -*.ps1 text eol=crlf - -# Documentation -*.markdown text diff=markdown -*.md text diff=markdown -*.mdwn text diff=markdown -*.mdown text diff=markdown -*.mkd text diff=markdown -*.mkdn text diff=markdown -*.mdtxt text -*.mdtext text -*.txt text -AUTHORS text -CHANGELOG text -CHANGES text -CONTRIBUTING text -COPYING text -copyright text -*COPYRIGHT* text -INSTALL text -license text -LICENSE text -NEWS text -readme text -*README* text -TODO text - -# Ignore files -*.*ignore text +* text=auto +*.go text diff=golang +*.html text diff=html +*.css text diff=css