From bd59f5d534ed321e77406000b21e33a18171daa4 Mon Sep 17 00:00:00 2001 From: Uwe Jugel Date: Wed, 22 Oct 2025 11:09:39 +0200 Subject: [PATCH] tag generated assertions as non-generated in new .gitattributes --- .gitattributes | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..923182b84 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +# This file is used to configure Git attributes for the repository. +# It is particularly useful for managing how generated code is treated in pull requests. +# For more information, see: +# https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github + +# Code for assertions and requirements is generated automatically by _codegen. +# This also updates code comments and code examples in the documentation. +# These comments and examples must be reviewed when they change, +# since updates to the generated code comments may not always be correct. +assert/*.go linguist-generated=false +require/*.go linguist-generated=false