git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Re: Help for the git patch with "---"
       [not found] ` <CADMgQSR8cOJs_XGuArqRoRxes6RxxgitMvDFYhpYVGxg6A2VZQ@mail.gmail.com>
@ 2021-02-25 13:14   ` Philippe Blain
  2021-02-25 13:22     ` Philippe Blain
  0 siblings, 1 reply; 2+ messages in thread
From: Philippe Blain @ 2021-02-25 13:14 UTC (permalink / raw)
  To: 滕龙; +Cc: Git mailing list

Hi Dyrone,

[CC-ing the list]

Le 2021-02-25 à 04:36, 滕龙 a écrit :
> Oh, I reviewed the PR ((link: https://github.com/git/git/pull/745 <https://github.com/git/git/pull/745>)),  maybe I got the point of it.
> 
> It's caused by the first comment I leave on the PR,  so every new patch will attach it to the maillist.

Exactly. The first comment on the PR (the PR description) is used
as a cover letter for multi-patch series, and in the case of one-patch
series like yours is now, it is inserted as an "in-patch commentary", i.e.
it is added below the '---' line as you found out.

> 
> I decide to remove it from the PR.
> 
> So, did I deal the right way this time?

Well, if you are sending a subsequent version of your patch series,
this space is usually used to summarize in words what
has changed since the last version of the patch series.
For example, for your v4 you could have written:

Changes since v3:
- Improved <that> following comment from <insert reviewer name>
- Reworded the commit message
- etc.

This is a explained in the MyFirstContribution tutorial [1]. I would
encourage you to do that if your series needs a v5 (I haven't read it yet).
It's also a way to make sure that you modified your patch to account
for all feedback you got in earlier iterations.

> 
> Thank you
> 
> -dyrone
> 

One last thing: most people prefer not to be emailed directy, but instead
to be CC-ed on an email you send to the mailing list (git@vger.kernel.org).
You have much better chance of receiving an answer this way, as anybody who
reads the mailing list will see your message and might take the time to answer.

Cheers,

Philippe.


[1] https://git-scm.com/docs/MyFirstContribution#responding-ggg

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Help for the git patch with "---"
  2021-02-25 13:14   ` Help for the git patch with "---" Philippe Blain
@ 2021-02-25 13:22     ` Philippe Blain
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Blain @ 2021-02-25 13:22 UTC (permalink / raw)
  To: 滕龙; +Cc: Git mailing list

Le 2021-02-25 à 08:14, Philippe Blain a écrit :
> Hi Dyrone,
> 
> [CC-ing the list]
> 
> Le 2021-02-25 à 04:36, 滕龙 a écrit :
--snip--
>> I decide to remove it from the PR.
>>
>> So, did I deal the right way this time?
> 
> Well, if you are sending a subsequent version of your patch series,
> this space is usually used to summarize in words what
> has changed since the last version of the patch series.
> For example, for your v4 you could have written:
> 
> Changes since v3:
> - Improved <that> following comment from <insert reviewer name>
> - Reworded the commit message
> - etc.
> 
> This is a explained in the MyFirstContribution tutorial [1]. I would
> encourage you to do that if your series needs a v5 (I haven't read it yet).
> It's also a way to make sure that you modified your patch to account
> for all feedback you got in earlier iterations.
> 

Another thing: GitGitGadget adds a "CC:" footer in the PR description with
the email of every person that responds to your patch series on the mailing
list. This is then used to CC these persons when sending further iterations of
the series. So you should *not* remove these "CC:" footer when you update the PR
description to summarize you changes for each new version.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-25 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CADMgQST4wSH+bt5auGuO6KYoQzyrkhnY2RY4Q1jGLVczGrMG+Q@mail.gmail.com>
     [not found] ` <CADMgQSR8cOJs_XGuArqRoRxes6RxxgitMvDFYhpYVGxg6A2VZQ@mail.gmail.com>
2021-02-25 13:14   ` Help for the git patch with "---" Philippe Blain
2021-02-25 13:22     ` Philippe Blain

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).