Re: git rev-list formatting
- From
Jeff King <peff@peff.net>
- Date
- Mar 23, 2010, 12:26 UTC
- Message-ID
- <20100323122603.GA2053@coredump.intra.peff.net>
- In-Reply-To
- <m3ocifnvpd.fsf@winooski.ccs.neu.edu>
On Tue, Mar 23, 2010 at 07:06:38AM -0400, Eli Barzilay wrote:
Show 10 quoted lines
> > [...] > > I've made a copy of the repository at > > http://tmp.barzilay.org/testing.git.tgz > > which shows what I said when I run > > git rev-list --pretty="%b" 267d60518 > git rev-list --pretty="%b" 84482
The problem is that most of those commits don't _have_ bodies. Remember that "%b" is about everything in the commit message after the first first paragraph.
Now one might argue that rev-list should still put in the extra newline separator in this case. I haven't been paying attention, but hasn't that been discussed in another thread recently?
-Peff