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

Re: [PATCH] git-send-email: Cc more people

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 18, 2018, 21:21 UTC
Message-ID
<xmqqr2ncgqhl.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<87tvs8e174.fsf@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 13 quoted lines
> But IMO this patch is really lacking a few things before being ready:
>
> 1. You have no tests for this. See t/t9001-send-email.sh for examples,
> ...
> 2. Just a few lines down from your quoted hunk we have this:
> ... code about $supress_cc{<token>} ...
>    Your change should at least describe why those aren't being updated,
>    but probably we should add some other command-line option for
>    ignoring these wildcards, e.g. --[no-]wildcard-by-cc=reviewed
>    --[no-]wildcard-by-cc=seen etc, and we can make --[no-]signed-off-by
>    a historical alias for --[no-]wildcard-by-cc=signed-off.
> 3. Ditto all the documentation in "man git-send-email" about
> ...

Thanks, I agree that 2. (the lack of suppression) is a showstopper. I'd further say that these new CC-sources should be disabled by default and made opt-in to avoid surprising existing users.

One thing we also need to be very careful about is that some of the fields may not even have an e-mail address. We can expect that S-o-b and Cc would be of form "human readable name <email@addre.ss>" by their nature, but it is perfectly fine to write only human readable name without address on random lines like "suggeted-by" and "helped-by". There needs a way for the end-user to avoid using data found on such lines as if they are valid e-mail addresses.

Previous: Ævar Arnfjörð BjarmasonNext: Matthew Wilcox
Message 5 of 9 in “git-send-email: Cc more people”
  1. git-send-email: Cc more peopleMatthew Wilcox, Apr 18, 2018
  2. Steven RostedtApr 18, 2018
  3. Mathieu DesnoyersApr 18, 2018
  4. Ævar Arnfjörð BjarmasonApr 18, 2018
  5. Junio C HamanoApr 18, 2018
  6. Matthew WilcoxApr 19, 2018
  7. Mathieu DesnoyersApr 19, 2018
  8. Junio C HamanoApr 20, 2018
  9. Mathieu DesnoyersApr 20, 2018

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.