Skip to main content



      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 08:43
Eclipse UserFriend
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: Thu Jun 19 22:54:39 EDT 2025

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

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

Back to the top