summaryrefslogtreecommitdiff
path: root/build-aux/gitlog-to-changelog
diff options
context:
space:
mode:
authorBen Pfaff <blp@gnu.org>2008-08-19 08:20:22 +0200
committerJim Meyering <meyering@redhat.com>2008-08-19 08:20:22 +0200
commit9462d43fbc0d873ee7e667ba952616d53b8585e4 (patch)
tree5e8b839a17b8ffb73aa1093fd41b88028e0d9d81 /build-aux/gitlog-to-changelog
parente8ce1f16994aebc497cb91159149ec33baeadfe8 (diff)
downloadgnulib-9462d43fbc0d873ee7e667ba952616d53b8585e4.tar.gz
gitlog-to-changelog: give better diagnostic for failed pipe-open
* build-aux/gitlog-to-changelog: Improve error message: suggest that the version of Git may be too old.
Diffstat (limited to 'build-aux/gitlog-to-changelog')
-rwxr-xr-xbuild-aux/gitlog-to-changelog5
1 files changed, 3 insertions, 2 deletions
diff --git a/build-aux/gitlog-to-changelog b/build-aux/gitlog-to-changelog
index 3efdb6ddbb..50b1b2fc89 100755
--- a/build-aux/gitlog-to-changelog
+++ b/build-aux/gitlog-to-changelog
@@ -1,7 +1,7 @@
#!/usr/bin/perl
# Convert git log output to ChangeLog format.
-my $VERSION = '2008-02-10 10:03'; # UTC
+my $VERSION = '2008-08-19 05:01'; # 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
@@ -106,7 +106,8 @@ sub quoted_cmd(@)
my @cmd = (qw (git log --log-size), "--since=$since_date",
'--pretty=format:%ct %an <%ae>%n%n%s%n%b%n');
open PIPE, '-|', @cmd
- or die "$ME: failed to run `". quoted_cmd (@cmd) ."': $!\n";
+ or die ("$ME: failed to run `". quoted_cmd (@cmd) ."': $!\n"
+ . "(Is your Git too old? Version 1.5.1 or later is required.)\n");
my $prev_date_line = '';
while (1)