From a50d7198ea915ff878775baded34be36c4ffaef6 Mon Sep 17 00:00:00 2001 From: Sara Freimer Date: Fri, 3 May 2024 19:51:55 -0500 Subject: [PATCH] Flag generated resources as generated in git, so that github doesn't display the diff for them by default --- src/datagen/generated/.gitattributes | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/datagen/generated/.gitattributes b/src/datagen/generated/.gitattributes index 3ef72cd147b..edfce14b0ee 100644 --- a/src/datagen/generated/.gitattributes +++ b/src/datagen/generated/.gitattributes @@ -1,3 +1,6 @@ # GSON uses LF only, this prevents annoyance on Windows where only EOLs differ *.json eol=lf -*.zs eol=lf \ No newline at end of file +*.zs eol=lf + +# In GitHub, hide generated resources by default +** linguist-generated \ No newline at end of file