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

Re: [PATCH] Allow format-patch to create patches for merges

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 26, 2009, 15:36 UTC
Message-ID
<alpine.DEB.1.00.0901261604420.25749@intel-tinevez-2-302>
In-Reply-To
<1232978650-7008-1-git-send-email-nathan.panike@gmail.com>
Hi,
On Mon, 26 Jan 2009, Nathan W. Panike wrote:
Show 5 quoted lines
> The behavior for git format-patch is to ignore merge commits, producing 
> an empty patch.  The code does not allow the user to change this 
> behavior. This patch changes that behavior by allowing the user to 
> specify -c or -m at the command line to produce a patch for a merge 
> commit.
Your patch is almost perfect, except that you
- lack an explanation when this makes sense (format-patch is commonly used 
  for mail-based patch queues, and only -m 1 would make sense there, and 
  only if you run format-patch with --first-parent),
- did not add your Sign-off :-)

Ciao, Dscho

Previous: Nathan W. PanikeNext: Nathan W. Panike
Message 2 of 6 in “Allow format-patch to create patches for merges”
  1. Allow format-patch to create patches for mergesNathan W. Panike, Jan 26, 2009
  2. Johannes SchindelinJan 26, 2009
  3. Nathan W. PanikeJan 26, 2009
  4. Jeff KingJan 26, 2009
  5. Nathan W. PanikeJan 26, 2009
  6. Junio C HamanoJan 26, 2009

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.