Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Get number of commits

Okay, thank you very much!
This example helps me a lot.


2015-03-27 10:05 GMT+01:00 Matthias Sohn <matthias.sohn@xxxxxxxxx>:
On Thu, Mar 26, 2015 at 11:05 PM, gsoc <akif8877@xxxxxxxxx> wrote:
Thanks for your fast reply.

I’m not sure what the log command is, but I have found this: 
LogCommand [1], could that solve my problem?


you need a RevWalk {1]. [2] is a simple example walking all commits reachable from HEAD.
If you want to walk more branches you need to call markStart(ref) for each branch you are interested in
before starting the walk.


-Matthias 
 


Back to the top