I have 3 files.
- f1.java
- f1rev1.java
- f1rev2.java
What I want to do is get the diff between "f1.java" and "f1rev1.java" and apply that diff to "f1rev2.java" without considering the diff between f1.java and f1rev2.java.
Is there any tool or libraries that I can use to achieve this? Any language would be fine.
Note - I studies about diff3 algorithm. There it compares both f1.java with f1rev1.java and f1.java with f1rev2.java
I don't want to consider about the diff between f1 and f1rev2.