summaryrefslogtreecommitdiff
path: root/convert-cache.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-24 22:49:09 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-24 22:49:09 (GMT)
commit3f053897b3445988309d0ae7378944783c34d152 (patch)
treef5c350ae39f61486622c84597a507611e62fa6af /convert-cache.c
parentc6e007b0942a373bbf87fa3e4e11e2d90907de8c (diff)
downloadgit-3f053897b3445988309d0ae7378944783c34d152.zip
git-3f053897b3445988309d0ae7378944783c34d152.tar.gz
git-3f053897b3445988309d0ae7378944783c34d152.tar.bz2
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.
Diffstat (limited to 'convert-cache.c')
-rw-r--r--convert-cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/convert-cache.c b/convert-cache.c
index 312fb61..431b117 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;
}