Getting the changed text / old version of a file [message #895315] |
Thu, 12 July 2012 12:43 |
John Hughes Messages: 1 Registered: July 2012 |
Junior Member |
|
|
I am building a project using jGit, and I need to look at the text within the files and how its changed.
I have code for iterating through commits and I know the files I want to get the different versions of, I also have code for specifically looking at a single file and its commits using a LogCommand object, adding a path then going through the iterator of RevCommit objects.
What I need to do now is actually get the changed text between each version of the file, I'm not so much looking for explicit code example but which parts of the library I should be looking at and the pseudo code for doing this.
Cheers.
|
|
|
Powered by
FUDForum. Page generated in 0.04062 seconds