by squiggleblaz · 7y ago · 0 comments
- But doesn't plain text suck for difs?
+ But doesn't plain text suck for diffs?
- Especially when you have a really long, multi-line
- paragraph that has bmore than one change? And if we
- relied on word wrap, then the scope of change would
- be the paragraph and all hope is lost. At least
- this way we might eventually regain some
+ Especially when you have an exceptionally long,
+ multi-line paragraph that has more than one change?
+ But if we relied on word wrap, then the scope of
+ change would be the paragraph and all hope is lost.
+ At least this way we might eventually regain some
equivalency by chance and it's clear that nothing
after that point has changed.
Git is great, but it's designed for code. Legal documents are probably structured more like code than any other prose with clear identified chunks and frequently breaking out into lists, but it's not the same thing.(For clarity, I think probably a sentence-by-sentence diff would work well. But then it's not plain text; you're relying on some processor to collect sentences into paragraphs.)
https://github.com/dart-lang/language/blob/master/specificat...
Markdown or Asciidoc has the same benefit as far as paragraphs.
But again, all those tools are built for developers, and especially the ones used by git for internal purposes like for conflict resolution make some strong assumptions that don't hold for prose.