Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
configure: fix a regression in PCRE v1 detection
[gitweb.git]
/
contrib
/
examples
/
git-svnimport.perl
diff --git
a/contrib/examples/git-svnimport.perl
b/contrib/examples/git-svnimport.perl
index c414f0d9c7ecfac7074d0e052c19f73cae4344d1..75a43e23b6138754e7dc780aa3a643be38e1ba14 100755
(executable)
--- a/
contrib/examples/git-svnimport.perl
+++ b/
contrib/examples/git-svnimport.perl
@@
-238,7
+238,7
@@
($)
my($d) = @_;
$d =~ m#(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)#
or die "Unparseable date: $d\n";
- my $y=$1; $y
-=1900 if $y>19
00;
+ my $y=$1; $y
+=1900 if $y<10
00;
return timegm($6||0,$5,$4,$3,$2-1,$y);
}