[erlang-questions] erlgit - convenience Erlang wrapper around git executable

Gleb Peregud <>
Sat Aug 25 14:19:46 CEST 2012

On Sat, Aug 25, 2012 at 8:14 AM, Max Lapshin <> wrote:
> I've just looked for something like this yesterday =)
> I consider, that grit https://github.com/mojombo/grit approach is
> best: for frequently used operations, like "read head",
> you should unpack git repo by yourself: read pack files, decode them
> and parse their content.
> Usage of libgit2 is nice, but it is nif. It should be used for speed.

I guess all approaches are feasible depending on the needs. Currently
just a wrapper around git executable is good enough for my needs, but
in theory it is the worst approach, since it depends on output of user
facing executable. I am glad to accept patches which uses any method.
I like libgit2 approach better than manually parsing git repo, since
it is much less work - and yet it works for anyone who isn't concerned
about concurrency aspect.

More information about the erlang-questions mailing list