On Fri, 10 Feb 2017 16:29:32 +0100 Guido =?iso-8859-1?Q?G=FCnther?=
<[email protected]> wrote:
> When generating patches we don't generate a From line anymore like:
>
> From f57c88e2e7a94d3f623ee64e3c59adbdfeb9404a Mon Sep 17 00:00:00 2001
>
> This is bad since patches can't be easily forwarded with "mutt -f
> patchname" anymore easily.
>
> This got broken by c661c7153783c79c45fbe63d828b03ea0a788215 in 2013.
Alternatively to "generating" a From line, what about "preserving" it?
Common-use case: get a git-formatted patch from upstream, then do a gbp
pq round trip. The first line "From <hash> <date>" disappears in the
process.
I'd like it to stay as is, untouched. I don't want to loose the git hash
of the patch, that's a very useful information to keep.
I know I'm supposed to add a "Origin: ..." tag and record the git hash
in there, according to DEP-3, but it takes extra time. I don't always do
this extra step, and I've noticed that others don't do it either.
I think that if gbp could leave this first From line untouched, that
would be an improvement.
What do you think?
Cheers,
Arnaud