Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I diff two files while ignoring diffs I've already marked as known

Tags:

diff

svn

I'm trying to maintain two parallel versions of the same stuff. Occasionally, I spend some time synching them to each other.

One way I've found to do this is to diff between each pair of files and look at the differences.

The problem is that there are a bunch of differences that I know about. They will continue to be different. I'm looking for the other stuff.

Is there a diff tool out there that will allow me to mark particular diffs are known/ignore?

I'm in the linux env using SVN. I'm fine with using windows based utilities.

like image 353
mmccoo Avatar asked Nov 13 '22 22:11

mmccoo


1 Answers

In Beyond Compare you can select a block of differences and mark it as ignored. It will switch the coloring and filtering so it's displayed as a match instead, though it doesn't persist across comparisons. It supports both Linux and Windows.

like image 76
Zoë Peterson Avatar answered Dec 06 '22 15:12

Zoë Peterson