{"thread":{"id":"15194","subject":"Is there have development library or API for git ?","startedAt":"2008-08-25T04:09:46Z","lastAt":"2008-08-26T18:48:53Z","messageCount":3,"participants":["Sky Patrick","Shawn O. Pearce","Scott Chacon"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"88422","messageId":"976e6d070808242109s53af2624td45dbb936ca25896@mail.gmail.com","threadId":"15194","inReplyTo":"976e6d070808242025n24b282dei5c79b4c9bf2e390e@mail.gmail.com","subject":"Is there have development library or API for git ?","fromName":"Sky Patrick","fromEmail":"patricksky852@gmail.com","sentAt":"2008-08-25T04:09:46Z","receivedAt":"2008-08-25T04:09:46Z","isPatch":false,"sender":{"key":"patricksky852@gmail.com","avatar":null},"body":"Hi,\n\nIs there have development library or API for git ? Thank ~\n\nRegards,\nPatrick\n"},{"id":"88424","messageId":"20080825041217.GA19127@spearce.org","threadId":"15194","inReplyTo":"976e6d070808242109s53af2624td45dbb936ca25896@mail.gmail.com","subject":"Re: Is there have development library or API for git ?","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-08-25T04:12:17Z","receivedAt":"2008-08-25T04:12:17Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Sky Patrick <patricksky852@gmail.com> wrote:\n> Is there have development library or API for git ? Thank ~\n\nNo.  However you can look at jgit if you are programming in Java.\nIn Ruby look up Grit (a wrapper around the plumbing commands), or\nthe pure-Ruby implementation of Git (I forget its name).\n\nAnything else, use the plumbing commands and just fork+exec what\nyou need.  Many of them have a -z flag to use null termination\non records, making it easier (and safer) to slurp data that may\ncontain LFs.\n\n-- \nShawn.\n"},{"id":"88629","messageId":"d411cc4a0808261148g792c01ax325aff343e7c3333@mail.gmail.com","threadId":"15194","inReplyTo":"20080825041217.GA19127@spearce.org","subject":"Re: Is there have development library or API for git ?","fromName":"Scott Chacon","fromEmail":"schacon@gmail.com","sentAt":"2008-08-26T18:48:53Z","receivedAt":"2008-08-26T18:48:53Z","isPatch":false,"sender":{"key":"schacon@gmail.com","avatar":"https://gravatar.com/avatar/9b13a8a078e1dcf8588c4eea9554445d51ebed6c41b51f56f4d96738130b05c6?d=mp&s=160"},"body":"The Ruby library Grit actually does a lot of stuff in pure ruby rather\nthan forking, but you also might want to take a look at libgitcore:\n\nhttp://git.codethink.co.uk/?p=git;a=shortlog;h=libgitcore\n\nThe codethink guys have stripped and rewritten a bunch of git to\nbehave more like a linkable library, and I think they have a python\nbinding as an example.\n\nScott\n\nOn Sun, Aug 24, 2008 at 9:12 PM, Shawn O. Pearce <spearce@spearce.org> wrote:\n> Sky Patrick <patricksky852@gmail.com> wrote:\n>> Is there have development library or API for git ? Thank ~\n>\n> No.  However you can look at jgit if you are programming in Java.\n> In Ruby look up Grit (a wrapper around the plumbing commands), or\n> the pure-Ruby implementation of Git (I forget its name).\n>\n> Anything else, use the plumbing commands and just fork+exec what\n> you need.  Many of them have a -z flag to use null termination\n> on records, making it easier (and safer) to slurp data that may\n> contain LFs.\n>\n> --\n> Shawn.\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n"}]}