From 3f053897b3445988309d0ae7378944783c34d152 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 24 Apr 2005 15:49:09 -0700 Subject: [PATCH] Update "convert-cache" to handle git itself. The git archives have some old-date-format commits with timezones that the converter didn't recognize. Also, make it be quiet about already-converted dates. --- convert-cache.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/convert-cache.c b/convert-cache.c index 312fb61c8..431b11798 100644 --- a/convert-cache.c +++ b/convert-cache.c @@ -170,7 +170,7 @@ static unsigned long parse_oldstyle_date(const char *buf) }; /* We only ever did two timezones in the bad old format .. */ const char *timezones[] = { - "PDT", "PST", NULL + "PDT", "PST", "CEST", NULL }; const char **fmt = formats; @@ -229,7 +229,6 @@ static int convert_date_line(char *dst, void **buf, unsigned long *sp) if (isdigit(*date)) { int datelen = next - date; memcpy(dst, date, datelen); - printf("new format date '%.*s'?\n", datelen-1, date); return len + datelen; } -- 2.26.2