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

Re: [PATCH] format-patch: Generate a newline between the subject header and the message body.

From
RSRobert Shearman <rob@codeweavers.com>
Date
Jul 13, 2006, 20:03 UTC
Message-ID
<44B6A70E.7060301@codeweavers.com>
In-Reply-To
<e967en$bi6$1@sea.gmane.org>
Jakub Narebski wrote:
Show 14 quoted lines
>Robert Shearman wrote:
>  
>
>>format-patch previously didn't generate a newline after a subject. This 
>>caused the diffstat to not be displayed in messages without a blank line 
>>and the first blank line to be eaten in messages with a blank line.
>>    
>>
>
>Does this _enforce_ separating commit message into subject+empty
>line+description? What about commit messages without this structire (e.g.
>legacy commit messages from import from other SCM, e.g. GNU ChangeLog
>style)?
>

It only affects commits exported into email style. It has nothing to do with the structure of GIT commit messages or those of any other SCM.

-- 
Rob Shearman
Previous: Jakub NarebskiNext: Junio C Hamano
Message 3 of 6 in “format-patch: Generate a newline between the subject header and the message body.”
  1. format-patch: Generate a newline between the subject header and the message body.Robert Shearman, Jul 13, 2006
  2. Jakub NarebskiJul 13, 2006
  3. Robert ShearmanJul 13, 2006
  4. Junio C HamanoJul 13, 2006
  5. Junio C HamanoJul 13, 2006
  6. Robert ShearmanJul 13, 2006

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.