Closed seebi closed 2 months ago
Hey @seebi can you try to run git difftool -dir-diff -t quitdiff-eccrev
It may be that rdf serializations using triples (not quads) will be parsed in a named graph assigned by the absolute file path (a/data/aksw.ttl vs. b/data/aksw.ttl).
Using -dir-diff
may help until we fix this issue, since the files are handled in a different way.
Norm, by using --dir-diff
only empty changesets are generated
∴ git diff
diff --git a/data/skos.ttl b/data/skos.ttl
index dde50c4..7f6705d 100644
--- a/data/skos.ttl
+++ b/data/skos.ttl
@@ -10,6 +10,7 @@
dct:description "An RDF vocabulary for describing the basic structure and content of concept schemes such as thesauri, classification schemes, subject he
dct:title "SKOS Vocabulary"@en ;
a owl:Ontology ;
+ a <urn:y> ;
rdfs:seeAlso <http://www.w3.org/TR/skos-reference/> .
skos:Collection
∴ git difftool --dir-diff -t quitdiff-eccrev
@prefix eccrev: <https://vocab.eccenca.com/revision/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
{
<urn:commit:52dc6bc2-8303-11e6-9bd6-80e65013f9e2:> a eccrev:Commit .
}
Add a walk through subdirectories. Add a default named graph URI so file names won't be taken as named graph URI.
Hi norman and nate,
I tried to test quitdiff but got an unexpected diff output.
I opened an existing turtle file in a repository and added a triple there (an additional comment). Then I ran
git diff
in order to have the standard output to compare it with quitdiff. here it is:The I ran quitdiff with the documented config (
git difftool -t quitdiff-eccrev
) but got a huge changeset of just deleting everything and then inserting everything.I expected to get only one triple in the diff.