]> code.delx.au - gnu-emacs/blobdiff - build-aux/gitlog-to-changelog
Merge from gnulib
[gnu-emacs] / build-aux / gitlog-to-changelog
index 0cab1bf17cdb93f4351a5a41219ff24af157047b..e25d48ec3a229000d5d69266dcddbc4aea4b11d7 100755 (executable)
@@ -9,7 +9,7 @@ my $VERSION = '2015-06-11 01:03'; # UTC
 # If you change this file with Emacs, please let the write hook
 # do its job.  Otherwise, update this string manually.
 
-# Copyright (C) 2008-2015 Free Software Foundation, Inc.
+# Copyright (C) 2008-2016 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -333,7 +333,7 @@ sub git_dir_option($)
           $rest =~ s/^\s*\(cherry picked from commit [\da-f]+\)\n//m;
         }
 
-      my @line = split /\s*\n/, $rest;
+      my @line = split /[ \t]*\n/, $rest;
       my $author_line = shift @line;
       defined $author_line
         or die "$ME:$.: unexpected EOF\n";