[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] gitlog-to-changelog output adjustments
From: |
Dmitry V. Levin |
Subject: |
[PATCH 0/2] gitlog-to-changelog output adjustments |
Date: |
Sun, 30 Oct 2011 05:00:32 +0400 |
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
- [PATCH 0/2] gitlog-to-changelog output adjustments,
Dmitry V. Levin <=