git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: git@vger.kernel.org
Subject: APIs for automatic patch generation
Date: Sat, 20 Feb 2010 20:40:40 +0100	[thread overview]
Message-ID: <4B803AB8.30304@web.de> (raw)

Hello,

I would like to generate patches in the Git format for some other
software automatically. Which application programming interfaces do you
recommend for this purpose if I am going to integrate this into a small
C++ class library?
http://www.kernel.org/pub/software/scm/git/docs/v1.7.0/technical/api-index.html
http://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools

Specific use cases:
- Which functions or commands should I call to retrieve the required
informations for a line like "index 8d16832..358c98b 100644"?
- Can any functions help to construct proper range specifications for
difference hunks?

Regards,
Markus

             reply	other threads:[~2010-02-20 19:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-20 19:40 Markus Elfring [this message]
2010-02-23 17:04 ` APIs for automatic patch generation Markus Elfring
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=4B803AB8.30304@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).