diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | build-aux/gitlog-to-changelog | 5 |
2 files changed, 8 insertions, 2 deletions
@@ -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 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 { |