Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Getting the changed text / old version of a file
Getting the changed text / old version of a file [message #895315] Thu, 12 July 2012 12:43
John Hughes is currently offline John HughesFriend
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.

Previous Topic:Newbie: EGit hangs eclipse IDE
Next Topic:Maven multiple projects, some of them are not shared
Goto Forum:

Current Time: Mon Apr 06 00:21:58 GMT 2020

Powered by FUDForum. Page generated in 0.01744 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top