Re: Regarding GIT API

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

 



On Tue, Feb 15, 2011 at 12:08 PM, Abhinav Goyal <honeykool23@xxxxxxxxx> wrote:
> hello All,
>
> I searched a lot but all in vain to find GIT API from which I can call
> git commands from my C++ Application. I tried my hands on libgit2 but found that
> it deals with very low level git functionality .I just need the git command
> support for my C++ application. I have my own reason for not using command
> prompt system call. Please help me if you have any idea regarding API that I can
> use.
>

Git's API is constructed through calling the plumbing commands, not by
calling C/C++ functions. If you want an example of how to do that, you
could look at the git-cheetah source code:
http://repo.or.cz/w/git-cheetah.git

LibGit2 is the most complete alternative for C/C++ to my knowledge.
--
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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]