All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pratyush Yadav <me@yadavpratyush.com>
To: fuyao <fuyao@allwinnertech.com>
Cc: git@vger.kernel.org, 黄臻炜 <huangzhenwei@allwinnertech.com>
Subject: Re: Is cover letter can save changes?
Date: Tue, 20 Oct 2020 15:53:39 +0530	[thread overview]
Message-ID: <873629fb6c.fsf@yadavpratyush.com> (raw)
In-Reply-To: <20201020070547.GI9517@g8Exdroid64> (fuyao@allwinnertech.com's message of "Tue, 20 Oct 2020 15:05:47 +0800")

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.
>
>    i found git notes can note things, but it add in patch not
>    cover letter. is some operate can do to save in cover letter.

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.

>    and the git note record with commit, when amend it can lost note,
>    is the rewrite error?

Have you set the config `notes.rewriteRef` to your notes ref?

-- 
Regards,
Pratyush Yadav

  reply	other threads:[~2020-10-20 10:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-20  7:05 Is cover letter can save changes? fuyao
2020-10-20 10:23 ` Pratyush Yadav [this message]
2020-10-20 19:21   ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873629fb6c.fsf@yadavpratyush.com \
    --to=me@yadavpratyush.com \
    --cc=fuyao@allwinnertech.com \
    --cc=git@vger.kernel.org \
    --cc=huangzhenwei@allwinnertech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.