Parcourir la source

Fix make_emacs_changelog to include mentioning of tiny changes

Carsten Dominik il y a 14 ans
Parent
commit
b01660fd51
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      UTILITIES/make_emacs_changelog

+ 2 - 2
UTILITIES/make_emacs_changelog

@@ -21,7 +21,7 @@ $log = <IN>;
 @commits = split(/^(?=commit)/m,$log);
 
 for $i (0..$#commits) {
-  $entry = 0; $tiny = 0;
+  $entry = ""; $tiny = "";
   $commit = $commits[$i];
   $author = $1 if $commit=~/^Author: ([^\n]+)/m;
   $date   = $1 if $commit=~/^Date: ([^\n]+)/m;
@@ -44,7 +44,7 @@ for $i (0..$#commits) {
     $entry =~ s/(\n[ \t]+\* )/\n$1/g;
     # remove the lisp part of the path
     $entry =~ s/^([ \t]+\* )lisp\//$1/mg;
-    print "$syncdate  $name  $address\n\n$entry\n\n";
+    print "$syncdate  $name  $address$tiny\n\n$entry\n\n";
   }
 }