]> Savannah Git Hosting - gnulib.git/commitdiff
gitlog-to-changelog: output SHA in "empty commit message" warning
authorBernhard Voelker <mail@bernhard-voelker.de>
Wed, 24 Feb 2021 23:58:25 +0000 (00:58 +0100)
committerBernhard Voelker <mail@bernhard-voelker.de>
Thu, 25 Feb 2021 09:20:16 +0000 (10:20 +0100)
* build-aux/gitlog-to-changelog: Add $sha to above warning diagnostic.

ChangeLog
build-aux/gitlog-to-changelog

index ddfb37935d64e94a298bcabb87369938c8a123c2..4b5d7c1aed9cad00b1cff27d4a235242c8493259 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-02-25  Bernhard Voelker  <mail@bernhard-voelker.de>
+
+       gitlog-to-changelog: output SHA in "empty commit message" warning
+       * build-aux/gitlog-to-changelog: Add $sha to above warning diagnostic.
+
 2021-02-24  Paul Eggert  <eggert@cs.ucla.edu>
 
        glob: include libc-config.h in a more-standard way
index de76f658d48ec09ccde144baba12e68957954654..9ff15f60198ceb169fc9b798673cb4d8f45c6b3b 100755 (executable)
@@ -35,7 +35,7 @@
 eval 'exec perl -wSx "$0" "$@"'
      if 0;
 
-my $VERSION = '2020-04-04 15:07'; # UTC
+my $VERSION = '2021-02-24 23:42'; # 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
@@ -455,7 +455,8 @@ sub git_dir_option($)
           # If there were any lines
           if (@line == 0)
             {
-              warn "$ME: warning: empty commit message:\n  $date_line\n";
+              warn "$ME: warning: empty commit message:\n"
+                   . "  commit $sha\n  $date_line\n";
             }
           else
             {