From: Linus Torvalds Date: Sun, 24 Apr 2005 23:20:53 +0000 (-0700) Subject: fsck-cache: warn about missing commit dates X-Git-Tag: v0.99~751 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=e6948b6d88c69a864e9c461911287c5cc5932a3b;p=git.git fsck-cache: warn about missing commit dates Now that we have hopefully converted all old archives, we can consider it an error. --- diff --git a/fsck-cache.c b/fsck-cache.c index 985adb68..e3c41d48 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; }