From 7682a40d62e77a2e85c7452f6684964869f42c2a Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Fri, 13 Jan 2023 11:03:50 -0800 Subject: [PATCH] `generated-code.rs` is not itself generated code (#5571) cranelift/codegen/src/isa/*/lower/isle/generated_code.rs are hand-written modules that `include!` the actual generated code. Tagging these hand-written files as `linguist-generated` in .gitattributes tells GitHub not to show them in diffs by default. But they're actually important to review, so they should be included in diffs. --- .gitattributes | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.gitattributes b/.gitattributes index abbcc83672..1f16d2f348 100644 --- a/.gitattributes +++ b/.gitattributes @@ -8,7 +8,3 @@ # ISLE should use lisp syntax highlighting. *.isle linguist-language=lisp - -# Tell GitHub this is generated code, and doesn't need to be shown in diffs by -# default. -cranelift/codegen/src/isa/*/lower/isle/generated_code.rs linguist-generated