Re: Git Library?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 28, 2008, 19:10 UTC
- Message-ID
- <alpine.DEB.1.00.0804282009310.19187@eeepc-johanness>
- In-Reply-To
- <5FCF765E-F3FF-438C-B4C1-FFB3262831A0@gmail.com>
Hi,
On Mon, 28 Apr 2008, Patrick Altman wrote:
> I want to write a Mac OSX UI for git. > > Is there a documented/undocumented API for interacting with git in process? > Or would I be better off "shelling out" to the git command line?
There was a mail thread yesterday on exactly the same subject. Bottom line: the recommended way is to fork()&&exec(), because I am sure you do not want to put in the work to make libgit.a reentrant.
Ciao, Dscho