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

Re: [PATCH] Skip excessive blank lines before commit body

From
Andreas Ericsson <ae@op5.se>
Date
Jan 4, 2007, 15:50 UTC
Message-ID
<459D225E.4010208@op5.se>
In-Reply-To
<11678312532251-git-send-email-hjemli@gmail.com>
Lars Hjemli wrote:
Show 6 quoted lines
> This modifies pretty_print_commit() to make the output of git-rev-list and
> friends a bit more predictable.
> 
> A commit body starting with blank lines might be unheard-of, but still possible
> to create using git-commit-tree (so is bound to appear somewhere, sometime).
> 
Lovely. I was just looking in to doing the exact same thing myself.

For reference, there is a tool somewhere that creates CVS commit messages with an empty title-line. When imported to git, those empty lines remain and fuzz up gitk and qgit viewing ad nauseum. I'm guessing (and hoping) this patch would take care of it.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Junio C Hamano
Message 3 of 3 in “Skip excessive blank lines before commit body”
  1. Skip excessive blank lines before commit bodyLars Hjemli, Jan 3, 2007
  2. Junio C HamanoJan 3, 2007
  3. Andreas EricssonJan 4, 2007

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.