[llvm] [gitattributes] Mark some llvm-rc inputs as requiring LF newlines (PR #113222)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 14:07:18 PDT 2024


https://github.com/mstorsjo updated https://github.com/llvm/llvm-project/pull/113222

>From 09914fb1e3edb5015465168f925b971a50c722d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin at martin.st>
Date: Mon, 21 Oct 2024 23:57:10 +0300
Subject: [PATCH] [gitattributes] Mark some llvm-rc inputs as requiring LF
 newlines

These text files get embedded verbatim in
llvm/test/tools/llvm-rc/tag-html.test, so their newlines form
needs to match the expected form exactly.
---
 llvm/.gitattributes | 1 +
 1 file changed, 1 insertion(+)

diff --git a/llvm/.gitattributes b/llvm/.gitattributes
index 5f0d9990b6b588..fc3afb28a8d520 100644
--- a/llvm/.gitattributes
+++ b/llvm/.gitattributes
@@ -25,6 +25,7 @@ test/tools/llvm-mca/X86/directives-handle-crlf.s text eol=crlf
 
 # These files must have LF line endings because the test requires exact matching
 test/Object/Inputs/*.tbd eol=lf
+test/tools/llvm-rc/Inputs/webpage*.html text eol=lf
 test/tools/llvm-strings/radix.test text eol=lf
 test/tools/llvm-tapi-diff/Inputs/*.tbd text eol=lf
 test/tools/split-file/basic.test text eol=lf



More information about the llvm-commits mailing list