After migrating several projects from GNU-Style ChangeLogs to git with
autogenerated ChangeLog files, I found a minor discrepancy in style
between the old and generated ChangeLog files.  The git commit message
convention is that the first line of a commit message is a summary which
is usually not terminated with a dot.  As result, gitlog-to-changelog
produces a strange mix of not dot-terminated sentences and
dot-terminated ChangeLogs entries, which looks quite unlike old
ChangeLog files where every sentence used to be dot-terminated.

I suggest the following adjustments to gitlog-to-changelog output:

 gitlog-to-changelog: treat messages without non-blank lines as empty
 gitlog-to-changelog: terminate the 1st line of commit message with a dot

 ChangeLog                     |   12 ++++++++++++
 build-aux/gitlog-to-changelog |   10 +++++++---
 2 files changed, 19 insertions(+), 3 deletions(-)


-- 
ldv

Reply via email to