From: Bernhard Voelker Date: Wed, 24 Feb 2021 23:58:25 +0000 (+0100) Subject: gitlog-to-changelog: output SHA in "empty commit message" warning X-Git-Tag: v1.0~3059 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=6466d2540a841d91d8d5ddafd5a2e54f601954b9;p=gnulib.git gitlog-to-changelog: output SHA in "empty commit message" warning * build-aux/gitlog-to-changelog: Add $sha to above warning diagnostic. --- diff --git a/ChangeLog b/ChangeLog index ddfb37935d..4b5d7c1aed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-02-25 Bernhard Voelker + + 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 glob: include libc-config.h in a more-standard way diff --git a/build-aux/gitlog-to-changelog b/build-aux/gitlog-to-changelog index de76f658d4..9ff15f6019 100755 --- a/build-aux/gitlog-to-changelog +++ b/build-aux/gitlog-to-changelog @@ -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 {