Yes, you can call that directly or you can delve into it to see how it works under the covers. If you just want a count then you probably don’t need the additional data that it returns and it would be more efficient to implement it yourself. However that will get you started.
Alex 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?
It's implemented in JGit rather than Git but you can get a repository and then walk the commits. See the log command for an example of how to do this.
Alex
Sent from my iPhat 6
On 26 Mar 2015, at 21:20, gsoc <akif8877@xxxxxxxxx> wrote:
Hello,
exist in EGit an API which gets me the number of my commits? For example: I want to know how many commits I have done in repo x.y.z.
Exist an API or something else for this use case?
Regards, Akif _______________________________________________ egit-dev mailing list egit-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/egit-dev
_______________________________________________ egit-dev mailing list egit-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/egit-dev
|