git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git mailinfo with patch parser
@ 2019-10-02  4:43 Florian Weimer
  2019-10-02  5:35 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Weimer @ 2019-10-02  4:43 UTC (permalink / raw)
  To: git

git mailinfo splits a message into headers, commit message, and patch
text, but does not actually parse the patch text.  As a result, the
patch portion produced by git mailinfo can contain something that
looks like a patch, but actually isn't.

Is there a way to get the patch data, as parsed by git apply or git
am, and dump it back in patch format, without actually applying the
patch to a working tree?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-02  5:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-02  4:43 git mailinfo with patch parser Florian Weimer
2019-10-02  5:35 ` Junio C Hamano
2019-10-02  5:41   ` Florian Weimer

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).