]> granicus.if.org Git - mutt/commitdiff
Automatically update ChangeLog as part of the commit process.
authorThomas Roessler <roessler@does-not-exist.org>
Sat, 7 Dec 2002 19:15:16 +0000 (19:15 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Sat, 7 Dec 2002 19:15:16 +0000 (19:15 +0000)
ChangeLog
Makefile.am
cvslog2changelog.pl

index 231ec0229875f439daddb0d5c39a8cc503f0db42..09896f4032c40270464603322b64ef275c25685b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2002/12/07 14:15:01  Thomas Roessler <roessler@does-not-exist.org>
+
+       * doc/Makefile.in, ChangeLog, ChangeLog.old, Makefile.am,
+       cvslog2changelog.pl, mkchangelog.sh: Change the style of
+       ChangeLog: Now, the actual patch submitter's name is
+       extracted from the commit message and used for the change
+       log.  For the moment, the date format doesn't match the one
+       in the old changelog.  If you want to fix this, submit a
+       patch to cvslog2changelog.pl. ;-)
+
 2002/12/07 08:55:59  Vincent Lefevre <vincent@vinc17.org>
 
        * po/fr.po: update
index 02a62ebfb34e6a12503864f9d6ed245011612dde..28ad3135e41bd02c2b3d99f3d7619108cbc8d9cd 100644 (file)
@@ -154,9 +154,14 @@ pclean:
 check-security:
        ./check_sec.sh
 
-commit: pclean check-security
+commit-real:
        cvs commit
 
+commit-changelog:
+       cvs commit -m "# changelog commit"
+
+commit: pclean check-security commit-real changelog commit-changelog
+
 changelog:
        sh ./mkchangelog.sh | cat  - ChangeLog > ChangeLog.$$$$ && mv ChangeLog.$$$$ ChangeLog
        $(VISUAL) ChangeLog
@@ -184,4 +189,4 @@ stamp-doc-rc: $(srcdir)/init.h makedoc Muttrc.head
 jtags: TAGS mkjtags
        ( ./mkjtags TAGS > tags.$$$$ && mv tags.$$$$ tags )
 
-.PHONY: jtags commit pclean check-security
+.PHONY: jtags commit pclean check-security commit-real commit-changelog
index 20934c31a1992a6da36f911039de2cc64fc02dfe..37e7da27b8048e29a3e0e86f80341ebd9bc487f8 100644 (file)
@@ -21,7 +21,7 @@ while (<>) {
     } 
     elsif ($_ =~ /^(=======|------)/) {
        if ($change->{revision}) {
-           push @Changes, $change;
+           push @Changes, $change unless $change->{logmsg} =~ /^#/;
            $change = {};
            $change->{workfile} = $workfile;
            $change->{logmsg}   = '';