From 9273fe2dd81a3a630b8520c8dc28e4895097b41a 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 cac7391247f700055fb8d3da795601932d114f6e 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 7470c294759d9595a7a354af07ea17ca23f21811 Mon Sep 17 00:00:00 2001 From: Chris Boesch 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