#!/usr/bin/perl
# Convert git log output to ChangeLog format.
-my $VERSION = '2008-02-09 13:52'; # 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
and (warn "$ME: too many arguments\n"), usage 1;
my @cmd = (qw (git log --log-size), "--since=$since_date",
- '--pretty=format:%at %an <%ae>%n%n%s%n%b%n');
+ '--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)