From 0433e4f8f1015e72824d53e7b87e378683ef7512 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Tue, 20 Jan 2026 16:20:40 -0800 Subject: [PATCH] mark .vcd files as generated --- .gitattributes | 3 +++ scripts/check-copyright.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..90b34c0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later +# See Notices.txt for copyright information +*.vcd linguist-generated=true diff --git a/scripts/check-copyright.sh b/scripts/check-copyright.sh index 8a00081..0b90d9f 100755 --- a/scripts/check-copyright.sh +++ b/scripts/check-copyright.sh @@ -49,7 +49,7 @@ function main() /crates/cpu/tests/expected/*.vcd|/crates/cpu/tests/expected/*.txt) # file that can't contain copyright header ;; - /.forgejo/workflows/*.yml|*/.gitignore|*.toml) + /.forgejo/workflows/*.yml|*/.gitignore|*/.gitattributes|*.toml) check_file "$file" "${POUND_HEADER[@]}" ;; *.mermaid)