git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] New script: git-changelog.perl

From
Jakub Narebski <jnareb@gmail.com>
Date
Nov 2, 2007, 19:18 UTC
Message-ID
<200711022018.02926.jnareb@gmail.com>
Subject: Re: [PATCH] New script: git-changelog.perl
From: "Ronald Landheer-Cieslak" <ronald@landheer-cieslak.com>
To: "Jakub Narebski" <jnareb@gmail.com>
On Nov 2, 2007 1:07 PM, Jakub Narebski <jnareb@gmail.com> wrote:
Show 12 quoted lines
> [Cc: Ronald Landheer-Cieslak <ronald@landheer-cieslak.com>,
>  git@vger.kernel.org]
>
> Ronald Landheer-Cieslak wrote:
>
>> 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 at git://vlinder.landheer-cieslak.com/git/git.git#topic/git-log-changelog

rlc
-- 
Ronald Landheer-Cieslak
Software Architect
http://www.landheer-cieslak.com/
New White Paper: "Three Good Reasons to Plan Ahead"
Message 1 of 1 in “Re: [PATCH] New script: git-changelog.perl”
  1. Jakub NarebskiNov 2, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.