Skip to content

Commit

Permalink
fsck-cache: warn about missing commit dates
Browse files Browse the repository at this point in the history
Now that we have hopefully converted all old archives, we
can consider it an error.
  • Loading branch information
Linus Torvalds committed Apr 24, 2005
1 parent 3f05389 commit e6948b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fsck-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit e6948b6

Please sign in to comment.