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

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

From
Jon Seymour <jon.seymour@gmail.com>
Date
Jul 5, 2005, 16:18 UTC
Message-ID
<2cfc403205070509181469b9fa@mail.gmail.com>
In-Reply-To
<7vekadfff6.fsf@assigned-by-dhcp.cox.net>
On 7/6/05, Junio C Hamano <junkio@cox.net> wrote:
Show 10 quoted lines
> >>>>> "PB" == Petr Baudis <pasky@suse.cz> writes:
> 
> PB> Any reason why this was not applied? It appears kind of cool.
> 
> FYI, the one in <7vll4s47p3.fsf_-_@assigned-by-dhcp.cox.net> is
> newer than what you quoted.
> 
> One thing _I_ am unhappy about what it does is that it does not
> try to be intelligent about merges (I haven't tried the script
> on a merged head myself).

I am not completely sure this is really a problem. I would presume that the project lead doesn't really need to use git-format-patch-script and the individual developer should probably rebase on the latest head which is either done by trivially reapplying the patches in sequence automatically or reapplying the patches in sequence with some edits to fix any conflicts that have arisen.

So, it is not clear to me git-format-patch-script needs to worry about merge questions. It'd be better to put such logic in a separate rebasing script, I think. If anything, you might want to add checks to git-format-patch script that refuse to generate a patch sequence for any sequence of patches that spans a merge commit.

jon.
-- 
homepage: http://www.zeta.org.au/~jon/
blog: http://orwelliantremors.blogspot.com/
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 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.