[git] GnuPG - branch, STABLE-BRANCH-1-4, updated. gnupg-1.4.11-43-g51c1e84

by Werner Koch cvs at cvs.gnupg.org
Fri Jan 20 12:14:45 CET 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, STABLE-BRANCH-1-4 has been updated
       via  51c1e84265890b26bf3b6ac0b17fb14c58e6e893 (commit)
      from  561d89803bd0b1d754f04b1fa9a815cc8cd0fd8b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 51c1e84265890b26bf3b6ac0b17fb14c58e6e893
Author: Werner Koch <wk at gnupg.org>
Date:   Fri Jan 20 11:08:06 2012 +0100

    Do not copy default merge commit log entries into the ChangeLog.
    
    * scripts/gitlog-to-changelog: Skip merge commits.

diff --git a/scripts/gitlog-to-changelog b/scripts/gitlog-to-changelog
index d9f594f..66fb49f 100755
--- a/scripts/gitlog-to-changelog
+++ b/scripts/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 = '2011-11-02 07:53'; # UTC
+my $VERSION = '2012-01-20 10:14'; # 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
@@ -204,6 +204,7 @@ sub parse_amend_file($)
 
   my $prev_date_line = '';
   my @prev_coauthors = ();
+
   while (1)
     {
       defined (my $in = <PIPE>)
@@ -217,6 +218,10 @@ sub parse_amend_file($)
       $n_read == $log_nbytes
         or die "$ME:$.: unexpected EOF\n";
 
+      # Skip log entries with the default merge commit message.
+      $log =~ /^.*\n\nMerge branch '.*\n\s*/
+        and goto SKIPCOMMIT;
+
       # Extract leading hash.
       my ($sha, $rest) = split ':', $log, 2;
       defined $sha
@@ -328,6 +333,7 @@ sub parse_amend_file($)
           print "\n", join ("\n", @line), "\n";
         }
 
+    SKIPCOMMIT:
       defined ($in = <PIPE>)
         or last;
       $in ne "\n"

-----------------------------------------------------------------------

Summary of changes:
 scripts/gitlog-to-changelog |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list