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

Re: [PATCH] format-patch: give an overview of what a "patch" message is

From
Jeff King <peff@peff.net>
Date
Mar 26, 2021, 08:45 UTC
Message-ID
<YF2fIhVUwBim47Wq@coredump.intra.peff.net>
In-Reply-To
<7c0aabe0-9240-950e-912f-0a195db7a144@gmail.com>
On Fri, Mar 26, 2021 at 03:26:25PM +0700, Bagas Sanjaya wrote:
Show 25 quoted lines
> On 26/03/21 03.10, Junio C Hamano wrote:
> > Bagas Sanjaya <bagasdotme@gmail.com> writes:
> > 
> > > The text says something called a "patch" is prepared one for each
> > > commit, it is suitable for e-mail submission, and "am" is the
> > > command to use it, but does not say what the "patch" really is.  The
> > > description in the page also refers to "three-dash" line, but that
> > > is totally unclear unless the reader is given a more detailed
> > > overview of what the "patch" the first paragraph refers to.
> > > 
> > > Co-authored-by: Junio C Hamano <gitster@pobox.com>
> > > Signed-off-by: Junio C Hamano <gitster@pobox.com>
> > > Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
> > > ---
> > 
> > I do not think this was co-authored; you are forwarding somebody
> > else's patch that was written without any input from you.
> > 
> Oh dear...
> 
> Next time when I need to send patches forwarded from you (or others),
> but not necessarily Co-authored-by, what should I do? Something like
> this note below?
> 
> [forwarded from someone]
You should start the first line of the message body with:
  From: Original Author <orig@example.com>

git-send-email will do this automatically if the author of the commit you are sending does not match your identity (you may also need to use "git commit --author" to make sure the author is set correctly in the commit).

-Peff
Previous: Bagas SanjayaNext: Junio C Hamano
Message 4 of 5 in “format-patch: give an overview of what a "patch" message is”
  1. format-patch: give an overview of what a "patch" message isBagas Sanjaya, Mar 25, 2021
  2. Junio C HamanoMar 25, 2021
  3. Bagas SanjayaMar 26, 2021
  4. Jeff KingMar 26, 2021
  5. Junio C HamanoMar 26, 2021

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.