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

Re: Cc'ing the Git maintainer on GitGitGadget contributions, was Re: [PATCH 0/1] add--interactive: skip index refresh in reset patch mode

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 7, 2021, 21:25 UTC
Message-ID
<xmqqft3cl9rw.fsf@gitster.c.googlers.com>
In-Reply-To
<nycvar.QRO.7.76.6.2101071718470.2213@tvgsbejvaqbjf.bet>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 11 quoted lines
> I would not call that a fix. As mentioned, I could not come up with a way
> to Cc: Junio only when appropriate in a way that wouldn't surprise new
> users. So yes, I disabled the auto-Cc:ing, with no appropriate
> replacement.
>
>> I.e. now users need to explicitly add "cc: gitster@pobox.com" to the
>> description, no? So isn't in the same as for us who use the
>> format-patch/send-email flow in this regard?
>
> Right. And that is... intuitive? If you have to read the manual, the
> design is broken.

Let's step back and think when a patch submitter wants to CC anybody. People explicitly Cc area experts when touching certain part of the codebase, so that they can ask for their input. People also explicitly Cc the maintainer when they see the reviewers reached a consensus that it is a good idea to apply the patch. These CC has value only because they came from conscious decision by the submitter---they actively asks for help and that nudges the recipient of CC to help them.

Even without such Cc:, stakeholders (both area experts and the maintainer) often notice noteworthy patches and discussions, so between having CC that is thrown around freely without thought and crowds recipient's inbox and not having such thoughtless CC at all, the latter is vastly preferred. The former just diminishes the value of Cc that are added manually by thoughtful people.

In short, "now users need to explicitly add" is a GOOD thing.  

The best is to have only thoughtful CC, the second best is not to have automated CC at all, and the worst is always throw automated CC to hurt others who try to make CC mean something by making judicious use of it.

Having said all that.

We may not be able to automate the thinking part to decide when submitter may want to get help, but an automation can help by giving the submitter cues and clues when to ask for help and from whom.

Is there a point in the end-user experience flow, starting at the time when they push their proposed change to their repository, throw a pull request at GitHub, say "/submit", and then GGG finally sends out a patch e-mail, where the GGG machinery can inspect the change and give the user (preferrably before the user says /submit) a hint that says "you may want to add Cc: to these people in such and such case, and if you think the situation falls into these cases, tell me so by saying /submit-with-suggested-cc instead of the usual /submit"?

And "these people" may include those who touched the affected code within the past 6 months, and it may also include the maintainer when the pull request is in its second or later iteration.

Thanks.
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 10 of 20 in “add--interactive: skip index refresh in reset patch mode”
  1. 0/1 add--interactive: skip index refresh in reset patch modeNika Layzell via GitGitGadget, Nov 23, 2019
  2. 1/1 add--interactive: skip index refresh in reset patch modeNika Layzell via GitGitGadget, Nov 23, 2019
  3. Junio C HamanoNov 24, 2019
  4. Johannes SchindelinNov 25, 2019
  5. Johannes SchindelinNov 25, 2019
  6. Junio C HamanoNov 26, 2019
  7. Cc'ing the Git maintainer on GitGitGadget contributions, was Re: [PATCH 0/1] add--interactive: skip index refresh in reset patch modeJohannes Schindelin, Jan 7, 2021
  8. Ævar Arnfjörð BjarmasonJan 7, 2021
  9. Johannes SchindelinJan 7, 2021
  10. Junio C HamanoJan 7, 2021
  11. Johannes SchindelinJan 8, 2021
  12. Junio C HamanoJan 8, 2021
  13. Johannes SchindelinJan 10, 2021
  14. Taylor BlauJan 8, 2021
  15. Johannes SchindelinJan 10, 2021
  16. Junio C HamanoJan 10, 2021
  17. Taylor BlauJan 11, 2021
  18. Junio C HamanoJan 12, 2021
  19. 胡哲宁Jan 14, 2021
  20. Junio C HamanoNov 26, 2019

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.