Re: [git pull] ieee1394 tree for 2.6.18
From: Junio C Hamano
Date: Wed Jun 21 2006 - 08:00:11 EST
Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx> writes:
> A related question: If a patch written by author A is forwarded via
> e-mail by person B to git tree maintainer C, and C imports the mail with
> git-am or git-applymbox --- will git catch the _last_ "From: " line
> (hopefully listing the address of A) or the first "From: " line (which
> contains the forwarding address of B) as author of the patch?
>
> Similarly, will it care for the last or first "Subject: " line? (The
> first line being the actual mail header, the last being a line in the
> mail body or a line in a plain-text encoded attachment, that is.)
The main question was answered by Ben, so this may be a bit
offtopic, but I'll answer git questions anyway.
The author-name-email, subject, and author-date are taken from
the RFC2822 headers of the e-mail the committer feeds git-am,
but you can override them by having "From: ", "Subject: ", and
"Date: " as the first lines of the message body, like this:
From: "For W. Arder" <forwarder@xxxxxxxxxxx>
Date: Wed, 21 Jun 2006 11:49:22 +0200
Subject: forwarding patch (was Re: ieee1394)
Message-ID: ...
From: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>
Date: Mon Jun 12 18:16:25 2006 -0400
Subject: eth1394: replace __constant_htons by htons
...and __constant_ntohs, __constant_ntohl, __constant_cpu_to_be32 too
where possible. Htons and friends are resolved to constants in these
places anyway. Also fix an endianess glitch in a log message, spotted
by Alexey Dobriyan.
Signed-off-by: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>
Note that the latter three header-looking lines are not RFC2822
headers but part of your (eh, Mr Arder's) message body.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/