From 5555dd781109f67c61aee9173d01b0084d547654 Mon Sep 17 00:00:00 2001 From: "Charles Graham, SWT" Date: Mon, 9 Mar 2026 13:54:46 +0000 Subject: [PATCH 1/2] Ensure files save as a specific end of line per the editor config --- .editorconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..98a2bb7 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true + +[*.bat] +end_of_line = crlf + +[*.cmd] +end_of_line = crlf From 010465de53eaf36cccbae059c555f2af7b6a5f3f Mon Sep 17 00:00:00 2001 From: "Charles Graham, SWT" Date: Mon, 9 Mar 2026 13:55:09 +0000 Subject: [PATCH 2/2] If editor does not support saving with a specific eol, make sure it commits with that eol --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..a2237bc --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +* text=auto eol=lf + +*.bat text eol=crlf +*.cmd text eol=crlf