From c08ecbaf239592018a2050b8515040d4a9f2e7aa Mon Sep 17 00:00:00 2001 From: Emanuele Torre Date: Sun, 9 Jul 2023 20:53:24 +0200 Subject: [PATCH] Mark src/{parser,lexer}.{c,h} as generated files in .gitattributes This should hide edit to those files in PR diffs making PRs easier to review. --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitattributes b/.gitattributes index 366d3c2b..f3bab192 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,7 @@ .gitattributes export-ignore .gitignore export-ignore * text=auto eol=lf + +# generated files +src/lexer.[ch] linguist-generated=true +src/parser.[ch] linguist-generated=true