From 266ed8408280931bcb562d4ffba413b7ed3e21dd Mon Sep 17 00:00:00 2001 From: Manlio Perillo Date: Mon, 24 Apr 2023 18:13:28 +0200 Subject: [PATCH 1/3] .gitignore: add zig-out, remove vim backup and swap files Add the zig-out directory, since the install step is available. Remove the vim backup and swap files, since it is possible to configure vim to use a custom directory. Ensure all the directories are anchored to the root directory. Closes #251 --- .gitignore | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index eeb5eef..4dc8b36 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ -*~ -*.swp -zig-cache/ -answers/ -patches/healed/ +/zig-cache/ +/zig-out/ +/answers/ +/patches/healed/ From dd08ac23bf0c7e5f46e0796cf7f3fd9e662dbb2c Mon Sep 17 00:00:00 2001 From: Manlio Perillo Date: Mon, 24 Apr 2023 18:27:46 +0200 Subject: [PATCH 2/3] .gitattributes: remove support for old files, add python Remove support for old .h, .cpp and .bat files. Set eol mode to lf for Python scripts. Closes #252 --- .gitattributes | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.gitattributes b/.gitattributes index 97386d9..cd420c4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,13 +4,7 @@ # Default behavior, if core.autocrlf is unset. * text=auto -# Files to be converted to native line endings on checkout. -*.cpp text -*.h text - -# Text files to always have CRLF (dos) line endings on checkout. -*.bat text eol=crlf - # Text files to always have LF (unix) line endings on checkout. +*.py text eol=lf *.sh text eol=lf *.zig text eol=lf From 353498d4d8f169bda03cc282a188819fd7a75f5c Mon Sep 17 00:00:00 2001 From: Chris Boesch <48591413+chrboesch@users.noreply.github.com> Date: Tue, 25 Apr 2023 20:23:27 +0200 Subject: [PATCH 3/3] Python isn't necessary --- .gitattributes | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index cd420c4..1cb5af7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,6 +5,5 @@ * text=auto # Text files to always have LF (unix) line endings on checkout. -*.py text eol=lf *.sh text eol=lf *.zig text eol=lf