1
0
mirror of https://github.com/git/git synced 2024-07-07 19:39:27 +00:00

fsck-cache: warn about missing commit dates

Now that we have hopefully converted all old archives, we
can consider it an error.
This commit is contained in:
Linus Torvalds 2005-04-24 16:20:53 -07:00
parent 3f053897b3
commit e6948b6d88

View File

@ -57,6 +57,8 @@ static int fsck_commit(unsigned char *sha1, void *data, unsigned long size)
return -1;
if (!commit->parents)
printf("root %s\n", sha1_to_hex(sha1));
if (!commit->date)
printf("bad commit date in %s\n", sha1_to_hex(sha1));
return 0;
}