lists.zerezo.com



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there have development library or API for git ?



Sky Patrick <patricksky852@xxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html