Re: [PATCH] send-email: Use To: headers in patch files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 28, 2010 at 08:02, Stephen Boyd <bebarino@xxxxxxxxx> wrote:

> +test_expect_success $PREREQ 'patches To headers are used by default' '
> + Â Â Â patch=`git format-patch -1 --to="bodies@xxxxxxxxxxx"` &&
> + Â Â Â git send-email \
> + Â Â Â Â Â Â Â --dry-run \
> + Â Â Â Â Â Â Â --from="Example <nobody@xxxxxxxxxxx>" \
> + Â Â Â Â Â Â Â --smtp-server relay.example.com \
> + Â Â Â Â Â Â Â $patch >stdout &&
> + Â Â Â grep "RCPT TO:<bodies@xxxxxxxxxxx>" stdout
> +'

Why not:

    git format-patch -1 --to="bodies@xxxxxxxxxxx" &&
    test_when_finished "rm *.patch" &&
    git send-email [...] *.patch >out &&
    [...]
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]