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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, 26 Jan 2009, Nathan W. Panike wrote:

> 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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux