From 0405c13791ea600eaa5a376c10cfcbe9843baf35 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 7 Sep 2026 19:35:36 +0200 Subject: [PATCH] Keep ci-release.sh at LF so it runs on the Gitea runner Git was set to normalize to CRLF on checkout, which puts a carriage return in the shebang and breaks the script on Linux. Also documents what User/ holds. --- .gitattributes | 6 ++++++ User/README.md | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 .gitattributes create mode 100644 User/README.md diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..47eb2a3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +# Shell scripts must keep LF: a CR in the shebang or in a command breaks bash on Linux. +*.sh text eol=lf + +# PowerShell is happy either way, but keep the working tree native on Windows. +*.ps1 text eol=crlf +*.cmd text eol=crlf diff --git a/User/README.md b/User/README.md new file mode 100644 index 0000000..f4f334d --- /dev/null +++ b/User/README.md @@ -0,0 +1,9 @@ +Settings tracked here by scripts/settings.ps1: + +- settings.json +- keybindings.json +- tasks.json +- snippets/ +- extensions.txt (marketplace extension ids) + +Run `.\scripts\settings.ps1 -Push` on the machine whose setup you want to keep.