New script: git-changelog.perl
Subject: Re: [PATCH] New script: git-changelog.perl
From: "Ronald Landheer-Cieslak" <[email protected]>
To: "Jakub Narebski" <[email protected]>
Quoted 5 lines · Jakub Narebski
[Cc: Ronald Landheer-Cieslak <[email protected]>,
[email protected]]Ronald Landheer-Cieslak wrote:
Quoted 7 lines
Quoted 3 lines
I've written a little script that will format the changes as reported by git-log in a ChangeLog-like format. Entries look like this:
<date>\t<author>\n\t<sha1>: <subject>How it compares to existing git2cl tool?:
http://josefsson.org/git2cl/
http://git.or.cz/gitwiki/InterfacesFrontendsAndTools
I must admit I didn't know about git2cl. The first difference I see is that it's simpler and has less dependencies: my script doesn't use any external modules (e.g. it doesn't parse the date) but just parses a formatted output from git-log.
Other than that, there's not much difference: my output is a bit sparser and my script invokes the proper git-log command by itself, so you don't have to pipe through it (i.e. all you do is git-changelog > ChangeLog to get your change log) but that's pretty much it.
If you want, you can have a look at it atgit://vlinder.landheer-cieslak.com/git/git.git#topic/git-log-changelog
rlc
Signature · 4 lines
Ronald Landheer-Cieslak Software Architect http://www.landheer-cieslak.com/ New White Paper: "Three Good Reasons to Plan Ahead"