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

Re: [PATCH] refs: cleanup directories when deleting packed ref

From
Junio C Hamano <gitster@pobox.com>
Date
May 10, 2021, 01:15 UTC
Message-ID
<xmqqzgx3s81m.fsf@gitster.g>
In-Reply-To
<YJgt2UzAdhFfrDHm@mini.wfchandler.org>
Will Chandler <wfc@wfchandler.org> writes:
Show 6 quoted lines
> Thank you, Junio. Would it be helpful if I sent a separate '[PATCH v2]'
> email?
>
> Apologies for not following the correct procedure for the revised patch.
> I was relying on 'SubmittingPatches', but I've since found the detailed
> instructions on submitting revisions in 'MyFirstContribution.txt'.

I am not sure if there is anything to apologize for on your part. The procedures we use have grown over time, and there certainly would be documentation gaps.

I think the best current practice is
1. In a thread that originates at a non-patch message, or in a
   review discussion thread for a patch, it is welcome to use "How
   about doing it this way?" patches as an illustration to explain
   your idea in a more concrete way than just in prose.  But it is
   unwelcome to leave the patch buried in the discussion, without
   making it easier to find it (see 3.)
2. In such a thread, "By the way, I thought of this unrelated
   tangent, and here is a patch to demonstrate the idea" is not
   entirely unwelcome, but keep it brief and make sure you get out
   of the thread quickly to avoid distracting the main discussion.
3. In either case, it makes it easier to find the final submission
   of the patch if it is not buried deep in the discussion.
   a. It is OK to start a new thread (without in-reply-to), with
      "here is a polished version of the patch and/or the idea I
      floated in <message-id>" under the three-dash line (for a
      single patch) or in the cover letter (for a series).
   b. An updated iteration of a multi-patch series sometimes is made
      as a direct response to the cover letter of the previous
      iteration (iow, the cover letter for vN+1 has the message id
      of the cover letter for vN on its in-reply-to header).

I think the "b4" tool prefers 3b. over 3a., and it may be also easy on human readers who read the list in threaded mail/news reader.

Thanks.
Previous: Will ChandlerNext: Jeff King
Message 10 of 12 in “refs: cleanup directories when deleting packed ref”
  1. refs: cleanup directories when deleting packed refWill Chandler, May 7, 2021
  2. Jeff KingMay 7, 2021
  3. Jeff KingMay 7, 2021
  4. Jeff KingMay 7, 2021
  5. Will ChandlerMay 8, 2021
  6. Will ChandlerMay 8, 2021
  7. Bagas SanjayaMay 8, 2021
  8. Junio C HamanoMay 8, 2021
  9. Will ChandlerMay 9, 2021
  10. Junio C HamanoMay 10, 2021
  11. Jeff KingMay 11, 2021
  12. Junio C HamanoMay 11, 2021

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.