News for hackers. Stuff that matters.
Re:Project Gitenberg by azernik on Saturday August 23, 2014 @01:50AM (#8215127)
I think this could be made easier by using the git database as a substrate - there's nothing in that that's tied to line-oriented files (maybe the compression algorithms make some assumptions?).

It's the diff-viewing infrastructure that needs to be completely replaced for prose.

Re:Project Gitenberg by davvid on Saturday August 23, 2014 @04:27AM (#8215316)
Indeed. git diff --color-words will often do the trick for prose, but the real solution is plugging a sentence-oriented diff viewer into git difftool. git difftool is extendable by setting git config variables, so it's very much doable.
Re:Project Gitenberg by zwp on Saturday August 23, 2014 @04:27AM (#8215315)
Perhaps "git diff --word-diff" helps? I don't see a similar option for "git show" though and that seems important :(

I think you're right: if the diff-viewing infrastructure was abstracted (plugin?) it could do this and more (eg word-diff-by-paragraph, image-diff).