Re: [PATCH 0/3] pretty: format aliases
- From
Jeff King <peff@peff.net>
- Date
- Apr 26, 2010, 17:22 UTC
- Message-ID
- <20100426172235.GA626@coredump.intra.peff.net>
- In-Reply-To
- <20100425220955.GA25620@progeny.tock>
On Sun, Apr 25, 2010 at 05:09:55PM -0500, Jonathan Nieder wrote:
Show 18 quoted lines
> Jeff King wrote: > > > The config variables format.* are traditionally about format-patch. I > > see we have format.pretty these days, too. > > Yes, it as added in commit v1.5.5-rc0~57^2 (log/show/whatchanged: > introduce format.pretty configuration, 2008-03-02): > > When running log/show/whatchanged from the command line, the user may want > to use a preferred format without having to pass --pretty=<fmt> option > every time from the command line. This teaches these three commands to > honor a new configuration variable, format.pretty. > > The --pretty option given from the command line will override the > configured format. > > I use it to mess with line wrapping; that it’s possible is very nice. > Thanks, Renquan.
To be clear, I don't have any problem with the _functionality_. I just think it probably should have been log.pretty, or pretty.default or something. Too late now, though.
-Peff