Re: Replacement for cvs2cl, for generating ChangeLog
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 27, 2007, 19:45 UTC
- Message-ID
- <Pine.LNX.4.63.0702272040440.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7v8xejflk2.fsf@assigned-by-dhcp.cox.net>
Hi,
On Tue, 27 Feb 2007, Junio C Hamano wrote:
Show 16 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > On Tue, 27 Feb 2007, Simon Josefsson wrote: > > > >> * Is there a tool that produce ChangeLog files in the GNU format, > >> based on the git logs? Similar to the 'cvs2cl' tool. The output > >> should look like: > >> ... > > Let me hack something. > > I do not know why you want to pile something like this into builtin-log. > It would add maintenance burden and I do not see a gain from it. > > One beauty of git is being scriptable. When somebody new asks for > something like this, I think it is much more productive to demonstrate > the power of scriptability than piling random crap in the core.
Well, I briefly considered writing a little Perl script using the output of "git log --stat".
BUT. GNU ChangeLog is a really often asked-for feature. And before risking some Haskell script producing GNU ChangeLog output in git.git, which I have to rewrite as plugin eventually anyway, I thought that I include it right away.
Demonstrating the ease of Git's core, and hacking on Git was a benefit from it.
As were the first two patches: I think print_wrapped_text() only now got usable. And show_date() with an enum should be an improvement, too.
Anyway, it was the third time I read about such a request, and I had a go at it. If you don't like it, don't take it. I have no problems with that.
Ciao, Dscho