From: Shawn O. Pearce Date: Mon, 25 Aug 2008 04:12:17 GMT Subject: Re: Is there have development library or API for git ? Message-ID: <20080825041217.GA19127@spearce.org> In-Reply-To: <976e6d070808242109s53af2624td45dbb936ca25896@mail.gmail.com> Sky Patrick wrote: > Is there have development library or API for git ? Thank ~ No. However you can look at jgit if you are programming in Java. In Ruby look up Grit (a wrapper around the plumbing commands), or the pure-Ruby implementation of Git (I forget its name). Anything else, use the plumbing commands and just fork+exec what you need. Many of them have a -z flag to use null termination on records, making it easier (and safer) to slurp data that may contain LFs. -- Shawn.