cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
* [Cocci] sending out trewide patches
@ 2018-10-27  6:38 Julia Lawall
  2018-10-27 17:14 ` Paul E. McKenney
  0 siblings, 1 reply; 10+ messages in thread
From: Julia Lawall @ 2018-10-27  6:38 UTC (permalink / raw)
  To: cocci

Hello,

At OSS Europe, I got some questions about how to send out large
Coccinelle-generated patches.  Coccinelle provides a tool tools/splitpatch
(go to the tools subdirectory of the Coccinelle distribution and run make)
that splits patches by set of maintainers (the default), by directory
(--dirmerge option), or by file (--nomerge option).  There is a file
tools/splitpatch.README that explains the various ways that it can be
used, but the simplest is to create a patch normally using
git format-patch -s, obtaining eg 0001-changes.patch, and then run

splitpatch 0001-changes.patch

The output will include a 0001-changes.cover file, a set of
0001-changesN.patch files with the various split patches, and a
0001-changes.cmd file for sending it off with git send-email.

This is available in the latest github version of Coccinelle.  Comments
are welcome.

julia

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

end of thread, other threads:[~2018-10-30 21:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-27  6:38 [Cocci] sending out trewide patches Julia Lawall
2018-10-27 17:14 ` Paul E. McKenney
2018-10-27 18:08   ` Julia Lawall
2018-10-30 19:45     ` Paul E. McKenney
2018-10-30 19:56       ` Julia Lawall
2018-10-30 20:04         ` Paul E. McKenney
2018-10-30 20:09           ` Julia Lawall
2018-10-30 20:35             ` Paul E. McKenney
2018-10-30 20:54               ` Paul E. McKenney
2018-10-30 21:11                 ` Julia Lawall

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