author | Johannes Sixt <johannes.sixt@telecom.at> | |
Wed, 6 Jun 2007 08:11:55 +0000 (10:11 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 6 Jun 2007 22:20:12 +0000 (15:20 -0700) | ||
commit | a1a5a6347b4ac1005c5d9c2b636e906bf6c8ec12 | |
tree | f781505463b4fe5dcccbb756668ce325ddeee648 | tree | snapshot |
parent | 41cf68a85ca2a9199b32eb3932582b234fa474b4 | commit | diff |
Accept dates before 2000/01/01 when specified as seconds since the epoch
Tests with git-filter-branch on a repository that was converted from
CVS and that has commits reaching back to 1999 revealed that it is
necessary to parse dates before 2000/01/01 when they are specified
as seconds since 1970/01/01. There is now still a limit, 100000000,
which is 1973/03/03 09:46:40 UTC, in order to allow that dates are
represented as 8 digits.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Tests with git-filter-branch on a repository that was converted from
CVS and that has commits reaching back to 1999 revealed that it is
necessary to parse dates before 2000/01/01 when they are specified
as seconds since 1970/01/01. There is now still a limit, 100000000,
which is 1973/03/03 09:46:40 UTC, in order to allow that dates are
represented as 8 digits.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
date.c | diff | blob | history |