Re: [PATCH] Add --pretty=changelog
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- Feb 27, 2007, 23:11 UTC
- Message-ID
- <20070227231100.GA25782@localdomain>
- In-Reply-To
- <Pine.LNX.4.63.0702271656540.22628@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 14 quoted lines
> Hi, > > On Tue, 27 Feb 2007, Nicolas Pitre wrote: > > > On Tue, 27 Feb 2007, Johannes Schindelin wrote: > > > > > > > > This outputs the log in GNU ChangeLog format. > > > > Please don't call it "changelog". I personally find this format horrid > > and "changelog" is too generic for such a specific format. > > "gnu_changelog" maybe... > > Fair enough. Maybe with a dash, so it is easier to type?
Show 7 quoted lines
> --- a/commit.c
> +++ b/commit.c
> @@ -38,6 +38,7 @@ struct cmt_fmt_map {
> { "fuller", 5, CMIT_FMT_FULLER },
> { "oneline", 1, CMIT_FMT_ONELINE },
> { "format:", 7, CMIT_FMT_USERFORMAT},
> + { "changelog", 9, CMIT_FMT_CHANGELOG}^- that should be a 1
'gnu[_-]changelog' or 'changelog' would all uniquely abbreviate to a single character.
--pretty=gnu sounds nice, however :)
-- Eric Wong