diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2021-02-25 00:58:25 +0100 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2021-02-25 10:20:16 +0100 |
commit | 6466d2540a841d91d8d5ddafd5a2e54f601954b9 (patch) | |
tree | 6a0da5b2a4c76787c6187faa711bb200e0be8a6c /build-aux/gitlog-to-changelog | |
parent | 5c7fc16b455ba87ffd1fab50905f96bc20c7b05b (diff) | |
download | gnulib-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-x | build-aux/gitlog-to-changelog | 5 |
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 { |