git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Sep 28, 2010, 14:34 UTC
Message-ID
<AANLkTimTmfORavF6pNGjC6L46_f+GOaz86jEzBPYUxF2@mail.gmail.com>
In-Reply-To
<1285660964-26758-1-git-send-email-bebarino@gmail.com>
On Tue, Sep 28, 2010 at 08:02, Stephen Boyd <bebarino@gmail.com> wrote:
Show 9 quoted lines
> +test_expect_success $PREREQ 'patches To headers are used by default' '
> +       patch=`git format-patch -1 --to="bodies@example.com"` &&
> +       git send-email \
> +               --dry-run \
> +               --from="Example <nobody@example.com>" \
> +               --smtp-server relay.example.com \
> +               $patch >stdout &&
> +       grep "RCPT TO:<bodies@example.com>" stdout
> +'
Why not:
    git format-patch -1 --to="bodies@example.com" &&
    test_when_finished "rm *.patch" &&
    git send-email [...] *.patch >out &&
    [...]
Previous: Stephen BoydNext: Stephen Boyd
Message 2 of 3 in “send-email: Use To: headers in patch files”
  1. send-email: Use To: headers in patch filesStephen Boyd, Sep 28, 2010
  2. Ævar Arnfjörð BjarmasonSep 28, 2010
  3. [PATCHv2] send-email: Use To: headers in patch filesStephen Boyd, Sep 29, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.