projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f05389
)
fsck-cache: warn about missing commit dates
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Sun, 24 Apr 2005 23:20:53 +0000
(16:20 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Sun, 24 Apr 2005 23:20:53 +0000
(16:20 -0700)
Now that we have hopefully converted all old archives, we
can consider it an error.
fsck-cache.c
patch
|
blob
|
history
diff --git
a/fsck-cache.c
b/fsck-cache.c
index
985adb6
..
e3c41d4
100644
(file)
--- 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;
}