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

Re: [PATCH] Add --pretty=changelog

From
Simon Josefsson <simon@josefsson.org>
Date
Mar 2, 2007, 10:15 UTC
Message-ID
<87abywrly0.fsf@latte.josefsson.org>
In-Reply-To
<7vejo8ezde.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 9 quoted lines
> 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.
Yes, actually, that seems like a better solution.

Btw, there is a custom to work around cvs translating empty log messages into '*** empty log message ***' strings, and that is to commit a log consisting of '.'. Translating both of those cvs log messages into a '' git log message, during cvs-import, seems like a useful change.

Show 9 quoted lines
>> 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.
Sorry for the trouble!

Also thanks, Johannes, for working so quickly on this. Seeing the first version of the ChangeLog output from your patched git allowed me to realize that the imported cvs history seemed ok. After replacing 'cvs2cl' and 'cvsco' I couldn't find any other more cvs-specific features in the project. I have just released the first version of libtasn1 from git instead of cvs. More projects will follow...

/Simon
Previous: Junio C HamanoNext: Johannes Schindelin
Message 22 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.