How to list files affected in a commit ?[SOLVED] [message #684954] |
Thu, 16 June 2011 10:21  |
Eclipse User |
|
|
|
Hi People,
I'm currently using JGit and i'm trying to simply list all commits and their respectives changedSet (files modified in each revision).
Although i've managed to browse each "RevCommit", i'm still unable to retrieve this list of files...
Does someone has an idea ?!
Thank you very much
Cédric
Edit : i didn't find any thread in this forum dealing with this concern. if it's the case, i'm sorry for this duplication
[Updated on: Thu, 16 June 2011 14:37] by Moderator
|
|
|
|
|
|
|
Re: How to list files affected in a commit ?[SOLVED] [message #1016031 is a reply to message #684954] |
Mon, 04 March 2013 11:18  |
Eclipse User |
|
|
|
Hi
I think you should identify the code that throws the error, and apply a simple null checking to avoid the errors. I'm not sure what happens with the initial commit, but i think it must have a null parent.
Then, to get the initial files, simply find the working copy of the repo at this commit.
|
|
|
Powered by
FUDForum. Page generated in 0.04382 seconds