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

Re: Is cover letter can save changes?

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 20, 2020, 19:21 UTC
Message-ID
<xmqqmu0gbt51.fsf@gitster.c.googlers.com>
In-Reply-To
<873629fb6c.fsf@yadavpratyush.com>
Pratyush Yadav <me@yadavpratyush.com> writes:
Show 13 quoted lines
> On Tue, Oct 20 2020, fuyao wrote:
>
>> Hi:
>>    i have question about format-patch.
>>
>>    when use git format-patch with --cover-letter, we add information
>>    in the cover letter. and then, i must send patch with -v2, the
>>    information in the cover letter is lost in the v2 patch.
> ...
> You can try using `git branch --edit-description <branch_name>` and
> write the contents of the cover letter there. Then you can use the
> option `--cover-from-description` to use the branch description when
> generating the cover letter.

Another thing people are encouraged to do is to use the -o option to store iterations of your series on disk, perhaps in the same directory. When you edit v2-0000-cover-letter.txt file, you can then reference the previous one you've already sent easily that way.

Previous: Pratyush Yadav
Message 3 of 3 in “Is cover letter can save changes?”
  1. fuyaoOct 20, 2020
  2. Pratyush YadavOct 20, 2020
  3. Junio C HamanoOct 20, 2020

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.