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

Re: [PATCH 3/3] format-patch: infer cover letter from branch description

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Aug 19, 2019, 17:29 UTC
Message-ID
<CAPig+cS1xqO3w9dAmYpHSCJJyquWRhJgYOpasScafabGEYuVWg@mail.gmail.com>
In-Reply-To
<5cc5e354b6d84609f3d1de087b3390488abe5343.1566182184.git.liu.denton@gmail.com>
On Sun, Aug 18, 2019 at 10:37 PM Denton Liu <liu.denton@gmail.com> wrote:
Show 18 quoted lines
> We used to populate the subject of the cover letter generated by
> git-format-patch with "*** SUBJECT HERE ***". However, if a user submits
> multiple patchsets, they may want to keep a consistent subject between
> rerolls.
>
> If git-format-patch is run with `--infer-cover-letter` or
> `format.inferCoverSubject`, infer the subject for the cover letter from
> the top line(s) of a branch description, similar to how a subject is
> read from a commit message.
>
> Signed-off-by: Denton Liu <liu.denton@gmail.com>
> ---
> diff --git a/Documentation/config/format.txt b/Documentation/config/format.txt
> @@ -36,6 +36,11 @@ format.subjectPrefix::
> +format.inferCoverSubject::
> +       A boolean that controls whether or not to infer the subject for
> +       the cover letter based on the branch's description. See the
> +       --infer-cover-subject option in linkgit:git-format-patch[1].
What is the default value?
Previous: Denton LiuNext: Denton Liu
Message 7 of 9 in “format-patch: teach --infer-cover-subject option”
  1. 0/3 format-patch: teach --infer-cover-subject optionDenton Liu, Aug 19, 2019
  2. 2/3 Doc: add more detail for git-format-patchDenton Liu, Aug 19, 2019
  3. Eric SunshineAug 19, 2019
  4. Denton LiuAug 19, 2019
  5. Junio C HamanoAug 20, 2019
  6. 3/3 format-patch: infer cover letter from branch descriptionDenton Liu, Aug 19, 2019
  7. Eric SunshineAug 19, 2019
  8. 1/3 t4014: clean up styleDenton Liu, Aug 19, 2019
  9. Eric SunshineAug 19, 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.