Save diff as HTML
Brought to you by:
blais
It would be very useful to save the side-by-side diff
as an HTML file (maybe with the option of removing
identical lines and leaving a 3-4 line context).
This would help with code review, or any type of
sharing diffs in a nice graphical format.
I'd be willing to contribute this feature if pointed to
the right place to hook it in.
Serban Simu
serban@asperasoft.com
Logged In: YES
user_id=10996
hi serban
hmmm not sure if this feature belongs within xxdiff.
while it would be a cool feature, i believe that it would be
a better approach to simply output a text patch in standard
diff format, and for some external tool to generate the html
from it (i think such tools already exist).
tell me a little more: do you want to generate just the
html diff for a single patch? for generating html for
entire files, other programs already do that.
note that if you're writing merge review comments, you can
hit Control and select a region with the first mouse button
(you'll see a red line), and then just paste that into a
text editor. xxdiff prepends the filename and the line
numbers in the file.
cheers,