提交 e6948b6d 编写于 作者: L Linus Torvalds

fsck-cache: warn about missing commit dates

Now that we have hopefully converted all old archives, we
can consider it an error.
上级 3f053897
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册