Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] How to get commits betwee two commits

On Sun, Mar 27, 2011 at 6:26 AM, Akos Tajti <akos.tajti@xxxxxxxxx> wrote:
> Hi,
> in our application there's a method that tries to get all commits between
> two commits (the same as git log since..until from command line). It seems
> that there's no method óin the JGit API that easily supports this

See the Git API and LogCommand. In particular, LogCommand.addRange(...)

If it doesn't work, file a bug. We could use more tests for LogCommand.


Chris Aniszczyk
+1 860 839 2465

Back to the top