]> Savannah Git Hosting - gnulib.git/commitdiff
announce-gen: Allow using local git user.name.
authorSimon Josefsson <simon@josefsson.org>
Mon, 17 Jul 2023 20:07:57 +0000 (22:07 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 19 Jul 2023 00:56:48 +0000 (02:56 +0200)
* build-aux/announce-gen (readable_interval): Remove --global
parameter to 'git config' call.

ChangeLog
build-aux/announce-gen

index 92dd37f0b3e2fc24f615db9d2c58c30262cd8c89..aa2e947c9f37633dd4d720916a9ba19f7881b030 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-07-17  Simon Josefsson  <simon@josefsson.org>
+
+       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  <bruno@clisp.org>
 
        mbsinit: Fix module description.
index 850619a1210d7aba920f399232ddcc27b99616b5..4056d443b0a25642b42751d65ef2e6f42fa80671 100755 (executable)
@@ -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`);