git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Shawn O. Pearce" <spearce@spearce.org>
To: Sky Patrick <patricksky852@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Is there have development library or API for git ?
Date: Sun, 24 Aug 2008 21:12:17 -0700	[thread overview]
Message-ID: <20080825041217.GA19127@spearce.org> (raw)
In-Reply-To: <976e6d070808242109s53af2624td45dbb936ca25896@mail.gmail.com>

Sky Patrick <patricksky852@gmail.com> 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.

  reply	other threads:[~2008-08-25  4:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <976e6d070808242025n24b282dei5c79b4c9bf2e390e@mail.gmail.com>
2008-08-25  4:09 ` Is there have development library or API for git ? Sky Patrick
2008-08-25  4:12   ` Shawn O. Pearce [this message]
2008-08-26 18:48     ` Scott Chacon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080825041217.GA19127@spearce.org \
    --to=spearce@spearce.org \
    --cc=git@vger.kernel.org \
    --cc=patricksky852@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).