This is an automated email from the ASF dual-hosted git repository.
arnebdt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git
The following commit(s) were added to refs/heads/main by this push:
new 3c0e219886 GH-3845: gitattributes setting for rdf-tests CG tests - fix2
3c0e219886 is described below
commit 3c0e219886c909f9b57a69caaab21f4544d2cdd3
Author: bern-SOPTIM <[email protected]>
AuthorDate: Fri Apr 10 22:23:55 2026 +0200
GH-3845: gitattributes setting for rdf-tests CG tests - fix2
Fixes git checkout line endings on windows for rdf12 nq test files.
Before: org.apache.jena.riot.Scripts_C14N.testFactory_n_quads_c14n did not
succeed on windows due to "\r\n" line endings.
Adds forgotten .gitattributes line:
rdf12/**/c14n/*-c14n.nq text eol=lf
Additional fix to https://github.com/apache/jena/pull/3849
Solves https://github.com/apache/jena/issues/3845
---
jena-arq/testing/rdf-tests-cg/rdf/.gitattributes | 1 +
1 file changed, 1 insertion(+)
diff --git a/jena-arq/testing/rdf-tests-cg/rdf/.gitattributes
b/jena-arq/testing/rdf-tests-cg/rdf/.gitattributes
index f187f79a95..baaaee51bf 100644
--- a/jena-arq/testing/rdf-tests-cg/rdf/.gitattributes
+++ b/jena-arq/testing/rdf-tests-cg/rdf/.gitattributes
@@ -12,4 +12,5 @@ rdf11/rdf-trig/trig-subm-16.trig text eol=lf
rdf11/rdf-trig/trig-subm-16.nq text eol=lf
rdf11/rdf-trig/literal_with_LINE_FEED.trig text eol=lf
+rdf12/**/c14n/*-c14n.nq text eol=lf
rdf12/**/c14n/*-c14n.nt text eol=lf