From e6948b6d88c69a864e9c461911287c5cc5932a3b Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 24 Apr 2005 16:20:53 -0700 Subject: [PATCH] fsck-cache: warn about missing commit dates Now that we have hopefully converted all old archives, we can consider it an error. --- fsck-cache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fsck-cache.c b/fsck-cache.c index 985adb68b..e3c41d48e 100644 --- a/fsck-cache.c +++ b/fsck-cache.c @@ -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; } -- 2.26.2