Skip to content

Commit

Permalink
Update "convert-cache" to handle git itself.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Linus Torvalds committed Apr 24, 2005
1 parent c6e007b commit 3f05389
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions convert-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 3f05389

Please sign in to comment.