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

Re: [Query] Override sendemail.tocmd

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
May 10, 2017, 10:18 UTC
Message-ID
<CACBZZX4pz26SCZBbivDneRX6hRPxpuPHXpOQKnn1zJL6xWj_Eg@mail.gmail.com>
In-Reply-To
<CAKohpok0=0__AcNZAfziTMYVDhGka3o0hzEN6HHZc=YUr7hWYQ@mail.gmail.com>
On Wed, May 10, 2017 at 9:23 AM, Viresh Kumar <viresh.kumar@linaro.org> wrote:
Show 17 quoted lines
> Hi,
>
> I have a use case and wanted help from you guys..
>
> I have set the sendemail.tocmd option in my kernel's .git/config
> file and that works very well. But sometimes I want to avoid that
> (for example sending the patch to someone without the list and
> maintainers).
>
> The suppress-cc=all option works quite well to avoid almost
> everything (including running --cc-cmd), but it doesn't suppress
> --to-cmd.
>
> Are there any specific reasons why it is being done that way?
>
> Currently I need to go edit my .git/config file and remove tocmd
> before sending any such patches and it sucks :)
Does something like this work:
    git -c sendemail.tocmd=/bin/false send-email ...
?
Previous: Viresh KumarNext: Viresh Kumar
Message 4 of 8 in “[Query] Override sendemail.tocmd”
  1. Viresh KumarMay 10, 2017
  2. Viresh KumarMay 10, 2017
  3. Viresh KumarMay 10, 2017
  4. Ævar Arnfjörð BjarmasonMay 10, 2017
  5. Viresh KumarMay 10, 2017
  6. Viresh KumarMay 10, 2017
  7. Ævar Arnfjörð BjarmasonMay 10, 2017
  8. Viresh KumarMay 18, 2017

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.