On 10/03/2014 22:24, Richard Hipp wrote:
The diff-generator in Fossil is unable to cope with lines longer than
8192 bytes.
That could be changed. (It's a #define, though there are adverse
consequences for making it too large.) But is a diff on a file with
huge lines like that really useful? Would a human be able to
understand such a diff?
That would depend on how the diff is presented.
As two long lines? No, I doubt a human could.
But if you present the diff as two wrapped lines side by side
diff A | diff B
and wrapped each at say 35 chars with a clear border and space down the
middle and highlighted using colour each difference I can see that
working even on a 80 char wide console.
But equally, the diff command is used to present a difference between
files. A human might not care about understanding it, as long as
patch(1) does.
Roy
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users