From: Hrvoje Nikšić Date: Tue, 22 Feb 2011 16:51:11 GMT Subject: Re: Make "terminator behavior" the default with --pretty=format: ? Message-ID: In-Reply-To: <1298393039.2286.14.camel@wpalmer.simply-domain> On Tue, Feb 22, 2011 at 5:43 PM, Will Palmer wrote: > On Tue, 2011-02-22 at 16:43 +0100, Hrvoje Nikšić wrote: >> Is there a reason, other than backward compatibility, for >> "--prety=format:" to have separator rather than terminator semantics? > > The "default behaviour" is the behaviour which occurs when one /doesn't/ > specify something. For example: --pretty="%H %an" uses terminator > semantics. I didn't know that you could simply omit the "format:". Is it documented anywhere? The docs say: --pretty[=], --format[=] Pretty-print the contents of the commit logs in a given format, where can be one of oneline, short, medium, full, fuller, email, raw and format:. When omitted, the format defaults to medium.