Using JGit, I want to get a list of files changed on commits as is possible with git log --name-status.
Is this possible? If so, how do you do it?
Using JGit, I want to get a list of files changed on commits as is possible with git log --name-status.
Is this possible? If so, how do you do it?
I use a modified version of the JGitUtils from the great GitBlit-Tool:
Look at the source of the method getFilesInCommit
to see how this can work (PathChangeModel
is just used to hold the data.)