Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] null parent

You can use an EmptyTreeIterator, there is an example in EGit that uses one to find the list of DiffEntry objects that are later passed to DiffFormatter.format.


On Wed, Dec 14, 2011 at 10:26 AM, Gonsolo <gonsolo@xxxxxxxxx> wrote:
Does DiffFormatter work with a null parent?
And if not, why and how am I supposed to get the patch from the first
commit in a repository?

jgit-dev mailing list

Back to the top