From: Markus Elfring <Markus.Elfring@web.de>
To: git@vger.kernel.org
Subject: Re: APIs for automatic patch generation
Date: Tue, 23 Feb 2010 18:04:34 +0100 [thread overview]
Message-ID: <4B840AA2.3010604@web.de> (raw)
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
next prev parent reply other threads:[~2010-02-23 17:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-20 19:40 APIs for automatic patch generation Markus Elfring
2010-02-23 17:04 ` Markus Elfring [this message]
2010-02-23 17:07 ` Sverre Rabbelier
2010-02-23 17:23 ` Markus Elfring
2010-02-23 18:07 ` Sverre Rabbelier
2010-12-13 16:00 ` Markus Elfring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B840AA2.3010604@web.de \
--to=markus.elfring@web.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).