gitlog-to-changelog: use "||", not "or" in expressions
authorJim Meyering <meyering@redhat.com>
Wed, 18 Jan 2012 07:45:29 +0000 (08:45 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 18 Jan 2012 07:45:29 +0000 (08:45 +0100)
* build-aux/gitlog-to-changelog (main): Use "||", not "or" in
expressions.

ChangeLog
build-aux/gitlog-to-changelog

index b225cf1..c7bee91 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-01-18  Jim Meyering  <meyering@redhat.com>
+
+       gitlog-to-changelog: use "||", not "or" in expressions
+       * build-aux/gitlog-to-changelog (main): Use "||", not "or" in
+       expressions.
+
 2012-01-17  Joel E. Denny  <joeldenny@joeldenny.org>
 
        gitlog-to-changelog: new option --no-cluster
index 61edde1..099ecdd 100755 (executable)
@@ -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:54'; # UTC
+my $VERSION = '2012-01-18 07:44'; # 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
@@ -313,10 +313,10 @@ sub parse_amend_file($)
       # 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"
-          or $multi_paragraph
-          or $prev_multi_paragraph)
+          || $date_line ne $prev_date_line
+          || "@coauthors" ne "@prev_coauthors"
+          || $multi_paragraph
+          || $prev_multi_paragraph)
         {
           $prev_date_line eq ''
             or print "\n";