www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Git library for checkouts?

reply Jacob Carlborg <doob me.com> writes:
Maybe a little off topic but does anyone know about a git library, I'll 
only need to do checkouts?

-- 
/Jacob Carlborg
Feb 15 2011
next sibling parent reply "Lars T. Kyllingstad" <public kyllingen.NOSPAMnet> writes:
On Tue, 15 Feb 2011 21:32:06 +0100, Jacob Carlborg wrote:

 Maybe a little off topic but does anyone know about a git library, I'll
 only need to do checkouts?

Here is a C library, written by the folks behind GitHub: https://github.com/schacon/libgit -Lars
Feb 15 2011
parent reply David Nadlinger <see klickverbot.at> writes:
On 2/15/11 10:09 PM, Lars T. Kyllingstad wrote:
 https://github.com/schacon/libgit

That'd rather be http://libgit2.github.com/, though I have no idea how usable it is already. David
Feb 16 2011
parent Jacob Carlborg <doob me.com> writes:
On 2011-02-16 11:26, David Nadlinger wrote:
 On 2/15/11 10:09 PM, Lars T. Kyllingstad wrote:
 https://github.com/schacon/libgit

That'd rather be http://libgit2.github.com/, though I have no idea how usable it is already. David

I've seen that, but hoped for something easier to use. Was hoping for something like: git_clone("url", "local_path"); -- /Jacob Carlborg
Feb 16 2011
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 2011-02-15 21:32, Jacob Carlborg wrote:
 Maybe a little off topic but does anyone know about a git library, I'll
 only need to do checkouts?

If it makes any difference I actually meant clone a git repository. -- /Jacob Carlborg
Feb 16 2011