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

GNU ChangeLogs, was Re: [PATCH] show_date(): rename the "relative" parameter to "mode"

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 27, 2007, 23:18 UTC
Message-ID
<Pine.LNX.4.63.0702280013130.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<Pine.LNX.4.64.0702271453030.12485@woody.linux-foundation.org>
Hi,
On Tue, 27 Feb 2007, Linus Torvalds wrote:
> I don't think the GNU style ChangeLog is particularly good. In fact, I 
> think it has an unfortunate tendency (thanks to being per-file-log) to 
> encourage people to commit unrelated changes and then explain them per 
> file.
Yes, that is some bad thing.
Show 5 quoted lines
> Of course, you can't do that under git anyway, but I sure hope people 
> don't start thinking that they should explain their changes in the git 
> commit messages that way - my point being that certain log formats tend 
> to encourage certain behaviour, and the GNU log format I think tends to 
> do that exactly the wrong way around.

Well, if you have to change your committing behaviour to get sensible automatic GNU ChangeLog from history, that would be a start, wouldn't it?

> That said, listing the functions that got changed (which I don't know if 
> you did, but some GNU changelogs do) may be a nice thing.
No I did not.

It is not _that_ easy with existing interfaces. Like I illustrated in an example I sent in another reply, you miss newly introduced functions.

Besides, without my Java-methods patch I sent yesterday, our function name extraction is utterly unusable on Java projects (and C++ projects with inlined methods).

> And hey, if some project wants GNU changelogs, I'm not against them. I 
> just don't think they are in any way "superior", and the per-file 
> comments really turn me off.

I think that the standard behaviour of "git log" rocks. But it would not hurt to be able to point to "git log --pretty=gnucl", to prove that Git is the ultimate SCM.

Ciao, Dscho

Previous: Linus TorvaldsNext: Andy Parkins
Message 17 of 18 in “show_date(): rename the "relative" parameter to "mode"”
  1. show_date(): rename the "relative" parameter to "mode"Johannes Schindelin, Feb 27, 2007
  2. Linus TorvaldsFeb 27, 2007
  3. Junio C HamanoFeb 27, 2007
  4. Linus TorvaldsFeb 27, 2007
  5. Johannes SchindelinFeb 27, 2007
  6. Linus TorvaldsFeb 27, 2007
  7. Johannes SchindelinFeb 27, 2007
  8. Junio C HamanoFeb 27, 2007
  9. Johannes SchindelinFeb 27, 2007
  10. Junio C HamanoFeb 27, 2007
  11. Johannes SchindelinFeb 27, 2007
  12. Linus TorvaldsFeb 27, 2007
  13. Johannes SchindelinFeb 27, 2007
  14. Linus TorvaldsFeb 27, 2007
  15. Johannes SchindelinFeb 27, 2007
  16. Linus TorvaldsFeb 27, 2007
  17. GNU ChangeLogs, was Re: [PATCH] show_date(): rename the "relative" parameter to "mode"Johannes Schindelin, Feb 27, 2007
  18. OT: Favourite log message layoutAndy Parkins, Feb 28, 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.