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

Re: [PATCH] Add --pretty=changelog

From
Junio C Hamano <junkio@cox.net>
Date
Mar 2, 2007, 10:03 UTC
Message-ID
<7vejo8ezde.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<87hct4roqa.fsf@latte.josefsson.org>
Simon Josefsson <simon@josefsson.org> writes:
> The problem here is that CVS insert '*** empty log message ***' when
> you didn't supply a log message, and doing something intelligent with
> such logs would be useful.

If that is indeed the case then I suspect that cvs-to-git conversion should know about it and strip the artificial string.

In any case, as I already said a few times in this thread, I think what you did is the right approach --- to read from "git log --numstat" output and format the output to match the precise detail of your project's liking with an external script.

> But I want more than the oneline comment in the ChangeLog?  There is
> no size limit on ChangeLog messages, and having as much information as
> possible available is better.

I think this was purely underspecification when your request was passed to Johannes.

I've merged Johannes's gnucl series to 'next' but haven't pushed out, so I'll revert it.

Previous: Simon JosefssonNext: Simon Josefsson
Message 21 of 24 in “Add --pretty=changelog”
  1. Add --pretty=changelogJohannes Schindelin, Feb 27, 2007
  2. Nicolas PitreFeb 27, 2007
  3. Johannes SchindelinFeb 27, 2007
  4. Eric WongFeb 27, 2007
  5. Junio C HamanoFeb 27, 2007
  6. 4/3 Rename --pretty=changelog to --pretty=gnucl, and fix a bugJohannes Schindelin, Feb 28, 2007
  7. Nicolas PitreFeb 28, 2007
  8. --amend Rename --pretty=changelog to --pretty=gnuclJohannes Schindelin, Feb 28, 2007
  9. Junio C HamanoMar 2, 2007
  10. print_wrapped_text: fix output for negative indentJohannes Schindelin, Mar 2, 2007
  11. --pretty=gnucl: avoid line wrapping before the commaJohannes Schindelin, Mar 2, 2007
  12. Junio C HamanoMar 3, 2007
  13. Johannes SchindelinMar 3, 2007
  14. Junio C HamanoMar 3, 2007
  15. Simon JosefssonMar 1, 2007
  16. Johannes SchindelinMar 1, 2007
  17. Shawn O. PearceMar 1, 2007
  18. Johannes SchindelinMar 1, 2007
  19. Junio C HamanoMar 2, 2007
  20. Simon JosefssonMar 2, 2007
  21. Junio C HamanoMar 2, 2007
  22. Simon JosefssonMar 2, 2007
  23. Johannes SchindelinMar 2, 2007
  24. Simon JosefssonMar 3, 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.