Skip to content

Commit

Permalink
Mark src/{parser,lexer}.{c,h} as generated files in .gitattributes
Browse files Browse the repository at this point in the history
This should hide edit to those files in PR diffs making PRs easier to
review.
  • Loading branch information
emanuele6 authored and nicowilliams committed Jul 9, 2023
1 parent 600e602 commit c08ecba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c08ecba

Please sign in to comment.