git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Add script for patch submission via e-mail.

From
Petr Baudis <pasky@suse.cz>
Date
Jul 5, 2005, 09:34 UTC
Message-ID
<20050705093441.GD6191@pasky.ji.cz>
In-Reply-To
<7vll5h7k5t.fsf@assigned-by-dhcp.cox.net>

Dear diary, on Sat, Jun 11, 2005 at 03:32:30AM CEST, I got a letter where Junio C Hamano <junkio@cox.net> told me that...

Show 24 quoted lines
> This git-format-patch-script is what I use to prepare patches
> for e-mail submission.
> 
> Typical usage is:
> 
> $ git-format-patch-script -B -C --find-copies-harder HEAD linus
> 
> to prepare each commit with its patch since "HEAD" forked from
> "linus", one file per patch for e-mail submission.  Each output
> file is numbered sequentially from 1, and uses the first line of
> the commit message (massaged for pathname safety) as the
> filename.
> 
> $ git-format-patch-script -B -C --find-copies-harder HEAD linus .patch/
> 
> creates output files in .patch/ directory.
> 
> Signed-off-by: Junio C Hamano <junkio@cox.net>
> ---
> *** Linus I am submitting this one because some patches on
> *** read-tree I am going to send you will need this for
> *** formatting into a form that is easier to review.  And this
> *** in turn can use diff-tree --find-copies-harder, which I
> *** indeed used to generate the patches that follow.

Any reason why this was not applied? It appears kind of cool. Well, I will probably take it and extend cg-mkpatch with it so I don't need it in Git, but I'm so altruistic and want to bring at least a bit of light to the gloomy dark world of the poor core Git plumbing users. ;-)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
<Espy> be careful, some twit might quote you out of context..
Previous: Junio C HamanoNext: Jon Seymour
Message 2 of 6 in “Add script for patch submission via e-mail.”
  1. Add script for patch submission via e-mail.Junio C Hamano, Jun 11, 2005
  2. Petr BaudisJul 5, 2005
  3. Jon SeymourJul 5, 2005
  4. Junio C HamanoJul 5, 2005
  5. Jon SeymourJul 5, 2005
  6. Add script for patch submission via e-mail.Junio C Hamano, Jul 5, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.