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

Re: [PATCH] send-email: Don't leak To: headers between patches

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 4, 2010, 07:11 UTC
Message-ID
<7v39sma0u9.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1286175924-15761-1-git-send-email-bebarino@gmail.com>
Stephen Boyd <bebarino@gmail.com> writes:
Show 8 quoted lines
> Ah, I didn't think about this at all. Your patch doesn't look right though.
> Consider a user adding a --to argument on the command line. The first patch
> will be sent to the right place but the second one will be sent to nobody.
> Right?
>
> How about this instead? Based on sb/send-email-use-to-from-input. Junio,
> looks like this would also fix a similar situation with the to_cmd in
> next.
Yeah, I haven't applied nor run it, but your fix looks correct.  Thanks.
Previous: Stephen BoydNext: Ævar Arnfjörð Bjarmason
Message 3 of 9 in “send-email: Clear To: field for every mail”
  1. send-email: Clear To: field for every mailViresh KUMAR, Oct 4, 2010
  2. send-email: Don't leak To: headers between patchesStephen Boyd, Oct 4, 2010
  3. Junio C HamanoOct 4, 2010
  4. Ævar Arnfjörð BjarmasonOct 4, 2010
  5. Ævar Arnfjörð BjarmasonOct 4, 2010
  6. Junio C HamanoOct 4, 2010
  7. Joe PerchesOct 4, 2010
  8. Junio C HamanoOct 4, 2010
  9. viresh kumarOct 4, 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.