Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-25 03:20:53 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-25 03:20:53 +0400
commite6948b6d88c69a864e9c461911287c5cc5932a3b (patch)
tree648b1464afe31bf85116ca64734a8b8990f4e0da /fsck-cache.c
parent3f053897b3445988309d0ae7378944783c34d152 (diff)
fsck-cache: warn about missing commit dates
Now that we have hopefully converted all old archives, we can consider it an error.
Diffstat (limited to 'fsck-cache.c')
-rw-r--r--fsck-cache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fsck-cache.c b/fsck-cache.c
index 985adb68bb..e3c41d48e9 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;
}