From: Markus Elfring Date: Tue, 23 Feb 2010 17:04:34 GMT Subject: Re: APIs for automatic patch generation Message-ID: <4B840AA2.3010604@web.de> In-Reply-To: <4B803AB8.30304@web.de> Hello, 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 a C API that can provide the following data? - a line like "index 8d16832..358c98b 100644" - range specifications for difference hunks - mail construction Regards, Markus