date.c: Fix off by one error in object-header date parsing

It is perfectly OK for a valid decimal integer to begin with '9' but 116eb3a (parse_date(): allow ancient git-timestamp, 2012-02-02) did not express the range correctly. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Jul 12, 2012 at 13:46 UTC be21d167b2a819fd2b4991a395e95906b3cb176a
1 file changed +1 -1
date.c
+1 -1
@@ -595,7 +595,7 @@ static int match_object_header_date(const char *date, unsigned long *timestamp,
595 unsigned long stamp;
596 int ofs;
597
598 - if (*date < '0' || '9' <= *date)
598 + if (*date < '0' || '9' < *date)
599 return -1;
600 stamp = strtoul(date, &end, 10);
601 if (*end != ' ' || stamp == ULONG_MAX || (end[1] != '+' && end[1] != '-'))