From: Markus Elfring Date: Mon, 13 Dec 2010 16:00:30 GMT Subject: Re: APIs for automatic patch generation Message-ID: <4D06431E.5020906@web.de> In-Reply-To: <4B840AA2.3010604@web.de> > The commands "git diff" and "git format-patch" contain functionality that I > would like to reuse for my little application in a C++ class library. Which functions exist in the recently published C API (http://libgit2.github.com/) that can provide the following data? * a line like "index 8d16832..358c98b 100644" * range specifications for difference hunks * mail construction Regards, Markus