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