author | Junio C Hamano <gitster@pobox.com> | |
Wed, 18 Feb 2009 18:48:01 +0000 (10:48 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 18 Feb 2009 18:48:01 +0000 (10:48 -0800) | ||
commit | b94ead75945fe7dbe8fbfeb48070a6b54d02e318 | |
tree | 8b3d4c9a29e5cac2fbe10ccf3dffc025db48a372 | tree | snapshot |
parent | df5d10a32ebc4f2305e13b70e2c01e4fa2cc73f0 | commit | diff |
git-svn: fix parsing of timestamp obtained from svn
Ward Wouts reports that git-svn barfed like this:
Unable to parse date: 2004-03-09T09:44:33.Z at /usr/bin/git-svn line 3995
The parse_svn_date sub expects there always are one or more digits after
the decimal point to record fractional seconds, but this example does not
and results in a failure like this.
The fix is based on the original fix by the reporter, further cleaned up.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
Ward Wouts reports that git-svn barfed like this:
Unable to parse date: 2004-03-09T09:44:33.Z at /usr/bin/git-svn line 3995
The parse_svn_date sub expects there always are one or more digits after
the decimal point to record fractional seconds, but this example does not
and results in a failure like this.
The fix is based on the original fix by the reporter, further cleaned up.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | diff | blob | history |