Thread (1 message) 1 message, 1 author, 2021-05-07

Re: [PATCH v1 0/8] format-patch: introduce --confirm-overwrite

From: Sergey Organov <hidden>
Date: 2021-05-07 14:03:02

Felipe Contreras [off-list ref] writes:
Firmin Martin wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help