Skip to content

Commit 3f05389

Browse files
author
Linus Torvalds
committed
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.
1 parent c6e007b commit 3f05389

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

convert-cache.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ static unsigned long parse_oldstyle_date(const char *buf)
170170
};
171171
/* We only ever did two timezones in the bad old format .. */
172172
const char *timezones[] = {
173-
"PDT", "PST", NULL
173+
"PDT", "PST", "CEST", NULL
174174
};
175175
const char **fmt = formats;
176176

@@ -229,7 +229,6 @@ static int convert_date_line(char *dst, void **buf, unsigned long *sp)
229229
if (isdigit(*date)) {
230230
int datelen = next - date;
231231
memcpy(dst, date, datelen);
232-
printf("new format date '%.*s'?\n", datelen-1, date);
233232
return len + datelen;
234233
}
235234

0 commit comments

Comments
 (0)