Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Paragraph-based diff program?

Does anyone know of a diff viewer or comparison program that can do paragraph-based differentials? My repos has a large number of LaTeX files that are formatted into 80-character wide paragraphs (for easy editing with vim). It's currently very difficult to interpret the diffs between various versions, because any edit that caused the position of the line breaks to change results in a lot of spurious differences that show up in the diff.

like image 225
JSBձոգչ Avatar asked Mar 08 '10 22:03

JSBձոգչ


1 Answers

You want wdiff.

Although I endorse breaking the line at the end of each sentence. Not only does it make it easier with source-code control, it makes it easier with co-authors as well.

like image 149
Norman Ramsey Avatar answered Nov 09 '22 14:11

Norman Ramsey