From: Simon Josefsson Date: Mon, 17 Jul 2023 20:07:57 +0000 (+0200) Subject: announce-gen: Allow using local git user.name. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=ef95f7839aa6582b1bc684dddcd658ab89728d33;p=gnulib.git announce-gen: Allow using local git user.name. * build-aux/announce-gen (readable_interval): Remove --global parameter to 'git config' call. --- diff --git a/ChangeLog b/ChangeLog index 92dd37f0b3..aa2e947c9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2023-07-17 Simon Josefsson + + announce-gen: Allow using local git user.name. + * build-aux/announce-gen (readable_interval): Remove --global + parameter to 'git config' call. + 2023-07-15 Bruno Haible mbsinit: Fix module description. diff --git a/build-aux/announce-gen b/build-aux/announce-gen index 850619a121..4056d443b0 100755 --- a/build-aux/announce-gen +++ b/build-aux/announce-gen @@ -35,7 +35,7 @@ eval 'exec perl -wSx "$0" "$@"' if 0; -my $VERSION = '2023-02-26 17:15'; # UTC +my $VERSION = '2023-07-17 20:05'; # 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 @@ -545,7 +545,7 @@ EOF my $v0 = $prev_version; my $v1 = $curr_version; - (my $first_name = `git config --global user.name|cut -d' ' -f1`) + (my $first_name = `git config user.name|cut -d' ' -f1`) =~ m{\S} or die "no name? set user.name in ~/.gitconfig\n"; chomp (my $n_ci = `git rev-list "v$v0..v$v1" | wc -l`);