Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any "smart"/context-aware diff/merge tools?

So many times when you do a diff of two versions of a code file, the tool completely screws up understanding what's changed... you maybe move a block of code inside an extra level of braces or add an extra ...} else if {... and suddenly it gets all out of sync.

So I wondered if any context-aware tools exist which actually try to understand the content and make smarter decisions, rather than doing a generic diff?

More usefully, can one plug such tools into VCS like git/SVN?

like image 342
Mr. Boy Avatar asked Oct 22 '22 03:10

Mr. Boy


1 Answers

  • SemanticMerge for C# and Java sources
  • DiffDog is XML-aware differ|merger
like image 169
Lazy Badger Avatar answered Oct 25 '22 17:10

Lazy Badger