[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Feature request] gitlog-to-changelog: don't cluster multiple Change
From: |
Joel E. Denny |
Subject: |
Re: [Feature request] gitlog-to-changelog: don't cluster multiple ChangeLog entries under the same "date line" |
Date: |
Tue, 17 Jan 2012 16:59:45 -0500 (EST) |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
On Tue, 17 Jan 2012, Jim Meyering wrote:
> > Below is a patch that adds a --no-cluster option, which I believe does
> > what Stefano wants. I want it too. OK to push?
>
> Hi Joel,
>
> Thanks. That looks fine, but please adjust the preceding comment
> to keep in sync with the new behavior.
Thanks. I folded in the following and pushed.
diff --git a/build-aux/gitlog-to-changelog b/build-aux/gitlog-to-changelog
index f59627a..61edde1 100755
--- a/build-aux/gitlog-to-changelog
+++ b/build-aux/gitlog-to-changelog
@@ -3,7 +3,7 @@ eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}'
if 0;
# Convert git log output to ChangeLog format.
-my $VERSION = '2012-01-17 21:21'; # UTC
+my $VERSION = '2012-01-17 21:54'; # UTC
# The definition above must lie within the first 8 lines in order
# for the Emacs time-stamp write hook (at end) to update it.
# If you change this file with Emacs, please let the write hook
@@ -308,9 +308,10 @@ sub parse_amend_file($)
. substr ($_, 5) . "\n";
}
- # If this header would be different from the previous date/name/email/
- # coauthors header, or if this or the previous entry consists of two
- # or more paragraphs, then print the header.
+ # If clustering of commit messages has been disabled, if this header
+ # would be different from the previous date/name/email/coauthors header,
+ # or if this or the previous entry consists of two or more paragraphs,
+ # then print the header.
if ($no_cluster
or $date_line ne $prev_date_line
or "@coauthors" ne "@prev_coauthors"