Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Getting the changed text / old version of a file
Getting the changed text / old version of a file [message #895315] Thu, 12 July 2012 08:43
John Hughes is currently offline 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.
Previous Topic:Newbie: EGit hangs eclipse IDE
Next Topic:Maven multiple projects, some of them are not shared
Goto Forum:
  


Current Time: Mon Jul 28 00:30:26 EDT 2014

Powered by FUDForum. Page generated in 0.07276 seconds