|Getting the list of modified files from a commit [message #867455]
||Tue, 01 May 2012 05:55
| Éloi Rivard
Registered: May 2012
I'm developping an eclipse independant application and I'd like to get the list of modified files from a commit with JGit.
This code does not work. Do you know what's wrong ?
Repository repo = ...
RevCommit commit = ...
FileTreeIterator fileTreeIterator = new FileTreeIterator(repo);
IndexDiff indexDiff = new IndexDiff(repo, commit.getId(), fileTreeIterator);
Powered by FUDForum
. Page generated in 0.01766 seconds