[OpenWrt-Devel] [RFC] [PULL REQUEST] rt2x00 patches from OpenWrt.org
chunkeey at googlemail.com
Fri Jan 13 16:22:49 EST 2017
On Friday, January 13, 2017 4:46:30 PM CET Daniel Golle wrote:
> On Fri, Jan 13, 2017 at 12:46:56PM +0200, Kalle Valo wrote:
> > Daniel Golle <daniel at makrotopia.org> writes:
> > > ...
> > > Please review and comment, so we can get those patches merged!
> > No pull requests, please. Instead send these as patches, easier to
> > review and actually also easier for me to merge.
> The advantage of pull requests is that author information can be
> preserved more easily. Running git format-patch results in most patches
> having wrong SMTP sender information due to the assumption that the
> patch author is the same person also submitting the patch.
> So in practise, this would either require changing the From: (and thus
> Author) to myself or having most mails eaten by anti-spam measures due
> to non-matching SPF which prohibits my SMTP to send mail on behalf of
> the original authors of the patches.
> How do you suggest to handle this situation?
From what I know, git format-patch and send-email  will add a second
FROM: in the email's body with the author of the commit automatically
(if author isn't you). This is what it did, when I posted the apm821xx
patches on lede-dev  (Look at the additional "FROM: Chris Blake ..."
line in these patches. Whereas the mail came from my address).
The MTA (MDA, ...) will use the first FROM: (your address) whereas git will
use the FROM in the mail body (so the patch will be correctly attributed to
the original patch author). If you don't want to bother the original
authors, you can look at the --suppress-cc=author option and enable --dry-run
on git send-email.
I would say, just give it a "dry".
(Sadly, I didn't find any documentation for this feature.
But I know it worked back then and it should be fine with SPF.)
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel