From b26b873c290dfab70cb5cb0ec1bf6852d0c7749f Mon Sep 17 00:00:00 2001 From: Bernd Worsch Date: Fri, 12 Sep 2025 02:21:05 +0200 Subject: [PATCH] chore: .gitattributes updated for line ending normalization --- .gitattributes | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.gitattributes b/.gitattributes index dfdb8b7..e397511 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,30 @@ +# Ensure consistent line endings across platforms +* text=auto eol=lf + +# Shell scripts: always LF *.sh text eol=lf + +# YAML, Ansible, Kubernetes manifests: always LF +*.yml text eol=lf +*.yaml text eol=lf + +# Markdown & docs: LF +*.md text eol=lf + +# Ignore line ending normalization for binaries +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.svg binary +*.ico binary +*.pdf binary +*.zip binary +*.tar.gz binary +*.tgz binary + +# Git attributes file itself should be LF +.gitattributes text eol=lf + +# EditorConfig file should be LF +.editorconfig text eol=lf