Michał Kiedrowicz [off-list ref] writes:
The code that comares lines is based on
contrib/diff-highlight/diff-highlight, except that it works with
multiline changes too. It also won't highlight lines that are
completely different because that would only make the output unreadable.
Combined diffs are not supported but a following commit will change it.
I was thinking that if gitweb were to support "diff refinement
highlighting", it would either use one of *Diff* packages from CPAN,
or "git diff --word-diff" output.
--
Jakub Narębski