Re: [PATCH v1 0/8] format-patch: introduce --confirm-overwrite
- From
Sergey Organov <sorganov@gmail.com>
- Date
- May 7, 2021, 14:02 UTC
- Message-ID
- <87sg2ybq0h.fsf@osv.gnss.ru>
- In-Reply-To
- <60949be8613c1_8c2220882@natae.notmuch>
Felipe Contreras <felipe.contreras@gmail.com> writes:
Show 12 quoted lines
> Firmin Martin wrote: >> Currently, git-format-patch, along with the option --cover-letter, >> unconditionally overwrites a cover letter with the same name (if >> present). Although this is a desired behaviour for patches which are >> auto-generated from Git commits log, it might not be the case for a >> cover letter whose the content is meticulously written manually. > > This is one of the reasons I never use git format-patch directly, but I > use a tool on top: git send-series[1]. > > It would be nice if git format-patch grabbed the text of the body from > somewhere,
It does already. I use:
git format-patch --cover-letter --cover-from-description=auto
that takes both subject and text for cover letter from branch description.
> and even better if git branch learned --edit-cover-letter.
It reads:
git branch --edit-description
Works for me.
-- Sergey Organov