[PATCH 2 of 2] patchbomb: put diffstat between commit message and patch for --git
Yuya Nishihara
yuya at tcha.org
Wed Nov 16 13:48:06 UTC 2016
On Sat, 12 Nov 2016 15:36:53 +0100, Henning Schild wrote:
> # HG changeset patch
> # User Henning Schild <henning at hennsch.de>
> # Date 1478958881 -3600
> # Sat Nov 12 14:54:41 2016 +0100
> # Node ID c3337dbf9c73502c439819c62b5d49d377024857
> # Parent a2012c6555da7b6d3a4e70df26a04040adb58471
> patchbomb: put diffstat between commit message and patch for --git
>
> When sending patch mails to a git-based project the diffstat should be placed
> right under the commit message. This patch makes hg email behave like git
> format-patch.
I think it's okay to extend --git option to copy the behavior of git
format-patch as long as the generated patch can be imported by hg.
Can you add some tests?
More information about the Mercurial-devel
mailing list