[llvm] [gitattributes] Don't mark all llvm-rc test Inputs as binary (PR #68583)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 05:49:11 PDT 2023


https://github.com/mstorsjo created https://github.com/llvm/llvm-project/pull/68583

This allows tooling to properly show diffs for files in the llvm/test/tools/llvm-rc/Inputs directory.

Keep the actual icon/cursor/bitmap files marked as binary.

>From c3d67f30969eaead60455cf68b7321d392ad8ded Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin at martin.st>
Date: Mon, 9 Oct 2023 15:46:45 +0300
Subject: [PATCH] [gitattributes] Don't mark all llvm-rc test Inputs as binary

This allows tooling to properly show diffs for files in the
llvm/test/tools/llvm-rc/Inputs directory.

Keep the actual icon/cursor/bitmap files marked as binary.
---
 llvm/.gitattributes | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/llvm/.gitattributes b/llvm/.gitattributes
index fe68b096c31f231..5f0d9990b6b5880 100644
--- a/llvm/.gitattributes
+++ b/llvm/.gitattributes
@@ -11,7 +11,9 @@ test/tools/dsymutil/Inputs/*.swiftmodule binary
 test/tools/llvm-ar/Inputs/*.lib binary
 test/tools/llvm-ar/Inputs/*.a binary
 test/tools/llvm-objdump/Inputs/*.a binary
-test/tools/llvm-rc/Inputs/* binary
+test/tools/llvm-rc/Inputs/*.bmp binary
+test/tools/llvm-rc/Inputs/*.cur binary
+test/tools/llvm-rc/Inputs/*.ico binary
 test/tools/llvm-strings/Inputs/numbers binary
 test/MC/AsmParser/incbin_abcd binary
 test/YAMLParser/spec-09-02.test binary



More information about the llvm-commits mailing list