From: Eric Sunshine Date: Mon, 19 Aug 2019 17:29:26 GMT Subject: Re: [PATCH 3/3] format-patch: infer cover letter from branch description Message-ID: In-Reply-To: <5cc5e354b6d84609f3d1de087b3390488abe5343.1566182184.git.liu.denton@gmail.com> On Sun, Aug 18, 2019 at 10:37 PM Denton Liu wrote: > 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 > --- > 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?