Search code examples
gitgit-diffmeldkdiff3

Creating a wrapper over an open source diff tool


I want to write a wrapper over some open source diff tool. Say kdiff3. Suggesting the way to do the same.

The diff tool shows as per file what is the diff in the code. I want it to perform specific task as per my requirement and automatically resolve the conflicts by deleting the code that has caused the conflict.


Solution

  • It seems that kdiff 3 doesn't have api, though you can call it from command line http://kdiff3.sourceforge.net/doc/documentation.html with different options. This doc can help you achieve your goal.