PCI: PCI/Cardbus cards hidden, needs pci=assign-busses to fix
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 2 lines · Andrew Morton
(added Junio)
Added the git mailing list as everyone should get involved :)
Quoted 16 lines
recap: the patch emails which Greg sends to linux-kernel do not identify their actual Author.
Quoted 10 lines · Greg KH
Quoted 2 lines · Andrew Morton
It's unclear from this email who the patch author was?
Git seems to strip that off when it converts them to emails. It was:
From: Bernhard Kaindl <[email protected]>If you look at the git changeset, it got it correct.
Quoted 6 lines
OK. We really should have a
From: Bernhard Kaindl <[email protected]>
right at the start of the email, IMO. Can you describe how you're producing them please?
I'm using:
git format-patch -n origin..HEAD
to generate the raw patch files, and then:
git-send-email --in-reply-to "<some_message_id>" --to [email protected]
fixing the obvious message id and mailing list address to be the correct one depending on the subsystem the patches are from.
thanks,
greg k-h
Quoted 26 lines · Greg KH
Quoted 2 lines · Andrew Morton
(added Junio)
Added the git mailing list as everyone should get involved :)
Quoted 20 lines
recap: the patch emails which Greg sends to linux-kernel do not identify their actual Author.
Quoted 10 lines · Greg KH
Quoted 2 lines · Andrew Morton
It's unclear from this email who the patch author was?
Git seems to strip that off when it converts them to emails. It was:
From: Bernhard Kaindl <[email protected]>If you look at the git changeset, it got it correct.
OK. We really should have a
From: Bernhard Kaindl <[email protected]>
Quoted 7 lines
Quoted 2 lines
right at the start of the email, IMO. Can you describe how you're producing them please?
I'm using:
git format-patch -n origin..HEAD
to generate the raw patch files, and then:git-send-email --in-reply-to "<some_message_id>" --to [email protected]
Oops, forgot the "*.txt" at the end of that last line to specify the patches to send out.
thanks,
greg k-h
Quoted 7 lines · Greg KH
I'm using:
git format-patch -n origin..HEAD
to generate the raw patch files, and then:git-send-email --in-reply-to "<some_message_id>" --to [email protected]fixing the obvious message id and mailing list address to be the correct one depending on the subsystem the patches are from.
I think format-patch does the right thing (I wrote it), but I am not sure what send-email does wrt the From: header. Who wrote the send-email anyway? I see your name on it ;-)
The cleanest way send-email should handle a patch authored by somebody other than you, I think, is to still use From: to name the author (format-patch output records the author on From:
line), and use Sender: of the outgoing e-mail to record that the message is from you. I suspect it probably doesn't.
The second best would be to add the duplicated From: to name the author (who is _not_ you) to the top of the body of the message. I do not particularly like that format myself, though. Sender:
header was invented to send an e-mail authored by somebody other than the sender of the message at the mail transport level, long before Documentation/SubmittingPatches were written and git was invented, and somehow I think that is a more kosher way to handle that than the "extra From: at the beginning of the message" clutch recommended in SubmittingPatches document.
On the acceptance side, "git am" (or "git applymbox") should be able to handle either format.
Quoted 10 lines · Junio C Hamano
The second best would be to add the duplicated From: to name the author (who is _not_ you) to the top of the body of the message. I do not particularly like that format myself, though. Sender:
header was invented to send an e-mail authored by somebody other than the sender of the message at the mail transport level, long beforeDocumentation/SubmittingPatcheswere written and git was invented, and somehow I think that is a more kosher way to handle that than the "extra From: at the beginning of the message" clutch recommended in SubmittingPatches document.
The email I received from Greg had no Sender: header at all. I could find no indication of who authored the patch in that email.
The convention of adding the From: to the top of the body of the changelog is explicit and simple - I think it's a reasonable thing to do.
We wouldn't want to attempt to mix this concept up with email envelopes or email headers or anything like that. The authorship is an attribute of the patch, and has nothing to do with how it was transported, stored or anything like that.
Quoted 4 lines · Andrew Morton
We wouldn't want to attempt to mix this concept up with email envelopes or email headers or anything like that. The authorship is an attribute of the patch, and has nothing to do with how it was transported, stored or anything like that.
Fair enough. This is the approach I called "the second best" in my message but I am inclined to agree with you.
This was tested once by sending myself two patches.
-- >8 --
[PATCH] send-email: Identify author at the top when sending e-mail
git-send-email was not checking if the sender is the same as the patch author. Follow the "From: at the beginning" convention to propagate the patch author correctly.
---
git-send-email.perl +10 -1
@@ -307,6 +307,7 @@ $subject = $initial_subject; foreach my $t (@files) { open(F,"<",$t) or die "can't open file $t"; + my $author_not_sender = undef; @cc = @initial_cc; my $found_mbox = 0; my $header_done = 0;
@@ -321,7 +322,12 @@ foreach my $t (@files) { $subject = $1; } elsif (/^(Cc|From):\s+(.*)$/) { - next if ($2 eq $from && $suppress_from); + if ($2 eq $from) { + next if ($suppress_from); + } + else { + $author_not_sender = $2; + } printf("(mbox) Adding cc: %s from line '%s'\n", $2, $_) unless $quiet; push @cc, $2;
@@ -360,6 +366,9 @@ foreach my $t (@files) { } } close F; + if (defined $author_not_sender) { + $message = "From: $author_not_sender\n\n$message"; + } $cc = join(", ", unique_email_list(@cc));
Quoted 11 lines · Junio C Hamano
Quoted 4 lines · Andrew Morton
We wouldn't want to attempt to mix this concept up with email envelopes or email headers or anything like that. The authorship is an attribute of the patch, and has nothing to do with how it was transported, stored or anything like that.
Fair enough. This is the approach I called "the second best" in my message but I am inclined to agree with you.
This was tested once by sending myself two patches.
Oops, just saw this after I sent out the last set of patches. It looks good to me, I'll try it out next time.
And yes, I did write the original version of this perl script, but it's been fixed up and made useful by Ryan.
thanks,
greg k-h
Quoted 4 lines · Greg KH
Quoted 1 line
This was tested once by sending myself two patches.
Oops, just saw this after I sent out the last set of patches. It looks good to me, I'll try it out next time.
Thanks. Will place this in "master" tonight.
Quoted 5 lines · Junio C Hamano
[PATCH] send-email: Identify author at the top when sending e-mail
git-send-email was not checking if the sender is the same as the patch author. Follow the "From: at the beginning" convention to propagate the patch author correctly.
This looks fine.
My initial thought here was that it might be even simpler to just always put the From: line in the body, with the patch author's name there, but this is a bit cleaner, so ACK.
Signature · 2 lines
Ryan Anderson sometimes Pug Majere