Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

mstorsjo
Copy link
Member

@mstorsjo mstorsjo commented Oct 9, 2023

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.

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.
@mstorsjo mstorsjo added llvm-tools All llvm tools that do not have corresponding tag platform:windows labels Oct 9, 2023
@llvmbot
Copy link
Member

llvmbot commented Oct 9, 2023

@llvm/pr-subscribers-platform-windows

Changes

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

@serge-sans-paille
Copy link
Collaborator

$ ls test/tools/llvm-rc/Inputs/ -1 | cut -d . -f 2 | sort -u
bmp
cur
html
ico
nested/
rc

This patch makes html and rc files visible, LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
llvm-tools All llvm tools that do not have corresponding tag platform:windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants