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

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 05:50:01 PDT 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-platform-windows

<details>
<summary>Changes</summary>

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.

---
Full diff: https://github.com/llvm/llvm-project/pull/68583.diff


1 Files Affected:

- (modified) llvm/.gitattributes (+3-1) 


``````````diff
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

``````````

</details>


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


More information about the llvm-commits mailing list