From: Junio C Hamano Date: Mon, 05 Apr 2010 01:30:37 GMT Subject: Re: Re: [PATCH] Add `%B' in format strings for raw commit body in `git log' and friends Message-ID: <7vljd2y9c2.fsf@alter.siamese.dyndns.org> In-Reply-To: <19385.5077.27968.796350@winooski.ccs.neu.edu> Eli Barzilay writes: > On Apr 4, Junio C Hamano wrote: >> Isn't this the same as "%s%n%+b"? > > The problem with that is that it wraps the first paragraph. So it's > fine as long as it's always used as a subject line. > > (I'm migrating a project to git, and some people will never remember > to do that.) Ok, but then "rev-list --pretty=format:%B" would not be as a good tool for migration to begin with (imagine a log message that begins with "commit"), compared to say "rev-list --pretty=raw". It also feels a bit funny to list %B that doesn't do the paragraph pretty-printing in pretty-formats.txt documentation ;-) but that is not an objection.