gitlog-to-changelog: update from gnulib

* gitlog-to-changelog: Update to version '2021-02-24 23:42' from gnulib.
This commit is contained in:
Dmitry V. Levin 2022-01-04 08:00:00 +00:00
parent 03087cbd51
commit 7e20fac20c

View File

@ -3,7 +3,7 @@
# Convert git log output to ChangeLog format. # Convert git log output to ChangeLog format.
# Copyright (C) 2008-2020 Free Software Foundation, Inc. # Copyright (C) 2008-2022 Free Software Foundation, Inc.
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -35,7 +35,7 @@
eval 'exec perl -wSx "$0" "$@"' eval 'exec perl -wSx "$0" "$@"'
if 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 # The definition above must lie within the first 8 lines in order
# for the Emacs time-stamp write hook (at end) to update it. # for the Emacs time-stamp write hook (at end) to update it.
# If you change this file with Emacs, please let the write hook # 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 there were any lines
if (@line == 0) 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 else
{ {