On 24.03.2014, at 11:08, Stephan Eggermont <[email protected]> wrote:

> Great!
> 
> I have a different (and lower priority) use case for the libgit2 bindings:
> Michael Feathers has done some history analysis on github repositories
> which we’ve used at the SPA2011 egg race. Basically, commit info on
> method level for 4 ruby projects. I guess I’d have to use the low level
> bindings to do similar things?

Not necessarily. The API could expose `git log` operations and then you could 
easily get a list of all commits referencing a specific method (for instance). 
If you want to do that yourself of course, then yes, you’ll have to use the 
bindings (or rather the minimal objectified abstraction. Using the bindings 
directly is kind of dangerous). In my opinion however, Git provides all the 
tools you need for that and you should use those tools if possible.

Does that answer your question? Bug me again if not :)

Max

> 
> Stephan


Reply via email to