Re: [PATCH 0/3] pretty: format aliases
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Apr 25, 2010, 22:09 UTC
- Message-ID
- <20100425220955.GA25620@progeny.tock>
- In-Reply-To
- <20100425194800.GB14736@coredump.intra.peff.net>
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.
Jonathan