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

Re: [RFC PATCH] format-patch: Add config option format.coverbodytext to change the cover letter body

From
Stefan Beller <sbeller@google.com>
Date
Jan 6, 2015, 19:14 UTC
Message-ID
<CAGZ79kZE+zBgYANE8+NppnBsAVfLXPdgxnvFRbLdMkafSqduWA@mail.gmail.com>
In-Reply-To
<xmqqd26rpwjg.fsf@gitster.dls.corp.google.com>
On Tue, Jan 6, 2015 at 10:57 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 7 quoted lines
> You said it yourself above, didn't you?  While perfecting your
> branch and while perfecting reroll of your branch.
>
>
>> * After doing changes, wait at least 12 hours for second self-review
>
> This is certainly once-per-series.
Right.
Show 6 quoted lines
>
>> * sending out:
>>     git format-patch --cover-letter --notes --subject-prefix=PATCHvX
>
> This is not even helpful reminder if that is only shown after you
> run format-patch, no?

Right, as I currently have these notes somewhere completely out of reach of my git tree, I manually check that list whenever I need to. So this is for different events.

Show 5 quoted lines
>
> Yes, but that is a separate discussion where the check list is given
> (per patch or per series?) and how it is presented (overriding the
> "blurb here" comment or something else that can also be used for the
> non-cover messages?).

One of the problems here may be that a single patch is never formatted as a patch, but lives inside the git world. Only when I consider the whole series good I start formatting the patches, which is why it's hard to find a place on a per-patch basis.

>>> Perhaps --add-header="x-reminder: what changed since the last?"
>>> would be sufficient for your purpose instead?

Maybe a similar approach of pre writing notes to some per patch checklist would do?

So once I'd set
    git config commit.add_notes_if_empty "/in/filesystem/checklist/per/patch"

which would add notes whenever I'd commit and the notes for that commit are not empty (i.e. commit --amend doesn't wipe existing notes). Maybe that config option should rather be below notes.add_on_commit though.

So before we drift into more discussion, I'd still think it makes sense to have the ***BLURB *** replaced by some configurable questions regarding the series as a whole, so I'd try to perfect that patch?

Thanks, Stefan

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 6 in “format-patch: Add config option format.coverbodytext to change the cover letter body”
  1. format-patch: Add config option format.coverbodytext to change the cover letter bodyStefan Beller, Jan 5, 2015
  2. Junio C HamanoJan 6, 2015
  3. Stefan BellerJan 6, 2015
  4. Junio C HamanoJan 6, 2015
  5. Stefan BellerJan 6, 2015
  6. Junio C HamanoJan 6, 2015

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.