From: "Johannes Schindelin" <johannes.schinde...@gmx.de>
On 2015-09-10 23:00, Jacob Keller wrote:
On Thu, Sep 10, 2015 at 11:58 AM, Johannes Schindelin
<johannes.schinde...@gmx.de> wrote:

On 2015-09-10 18:28, Jacob Keller wrote:

does anyone know of any tricks for storing a cover letter for a patch
series inside of git somehow?

It is not stored as a blob, but I use `git branch --edit-description` to write the cover letter for patch series when I expect a couple of iterations.

Does this (or can it?) get used by send-email or format-patch's
--cover-letter? This sounds like exactly what I want.

Yes, format-patch picks it up if you say `--cover-letter`.


I didn't know that. It doesn't appear to be mentioned in the man pages.

IIUC https://github.com/git/git/blob/master/builtin/log.c#L971 suggests that it is a deliberate extra inclusion, rather than being part of the shortlog and diffstat mentioned in the manual https://github.com/git/git/blob/master/Documentation/git-format-patch.txt#L216

Sounds like it may be a worthwhile doc patch.
--
Philip
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to