From 7fb6e433a23824fcf10530f5d111d3e1a9f2ef78 Mon Sep 17 00:00:00 2001 From: Serge Alex Date: Fri, 13 Nov 2026 07:11:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.gitattributes:=20EOL-=D0=BF=D0=BE=D0=BB=D0=B8=D1=82?= =?UTF-8?q?=D0=B8=D0=BA=D0=B0=20(js/json/md/sh/py=20=3D=20LF,=20cmd/ps1/vb?= =?UTF-8?q?s=20=3D=20CRLF)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8dde3d8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,31 @@ +# EOL policy for dsh-memory. +# Repo lives on Ubuntu 18, working copy on Windows with core.autocrlf=true. +# These rules override autocrlf per file type. + +* text=auto + +# Source and data: always LF (Unix-compatible, safe for cross-platform transfer) +*.js text eol=lf +*.mjs text eol=lf +*.cjs text eol=lf +*.json text eol=lf +*.md text eol=lf +*.txt text eol=lf +*.sh text eol=lf +*.py text eol=lf +*.yml text eol=lf +*.yaml text eol=lf +*.gitattributes text eol=lf +*.gitignore text eol=lf + +# Windows-only launchers: always CRLF (LF breaks cmd.exe / powershell) +*.cmd text eol=crlf +*.bat text eol=crlf +*.ps1 text eol=crlf +*.vbs text eol=crlf + +# Binary: no conversion +*.png binary +*.jpg binary +*.ico binary +*.svg text eol=lf