summaryrefslogtreecommitdiff
path: root/build-aux/gitlog-to-changelog
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2021-02-25 00:58:25 +0100
committerBernhard Voelker <mail@bernhard-voelker.de>2021-02-25 10:20:16 +0100
commit6466d2540a841d91d8d5ddafd5a2e54f601954b9 (patch)
tree6a0da5b2a4c76787c6187faa711bb200e0be8a6c /build-aux/gitlog-to-changelog
parent5c7fc16b455ba87ffd1fab50905f96bc20c7b05b (diff)
downloadgnulib-6466d2540a841d91d8d5ddafd5a2e54f601954b9.tar.gz
gitlog-to-changelog: output SHA in "empty commit message" warning
* build-aux/gitlog-to-changelog: Add $sha to above warning diagnostic.
Diffstat (limited to 'build-aux/gitlog-to-changelog')
-rwxr-xr-xbuild-aux/gitlog-to-changelog5
1 files changed, 3 insertions, 2 deletions
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
{