summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8ba0bbb)
raw | patch | inline | side by side (parent: 8ba0bbb)
author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Mon, 11 Apr 2005 06:22:59 +0000 (23:22 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Mon, 11 Apr 2005 06:22:59 +0000 (23:22 -0700) |
Which made fsck very quiet about objects it hadn't found. So add
it.
We'll need to make things like these optional, because it's
perfectly ok to have partial history if you don't want it,
and don't want to go backwards. But for development, it's best
to always complain about missing sha1 object files that are
referenced from somewhere else.
it.
We'll need to make things like these optional, because it's
perfectly ok to have partial history if you don't want it,
and don't want to go backwards. But for development, it's best
to always complain about missing sha1 object files that are
referenced from somewhere else.
fsck-cache.c | patch | blob | history |
diff --git a/fsck-cache.c b/fsck-cache.c
index 5dca6dbc04b0bf40cd654f05766f7daa6fac75b4..87366f0e535386771b734f02fe5257a5b0e1c9c9 100644 (file)
--- a/fsck-cache.c
+++ b/fsck-cache.c
if (lookup_seen(n->needs, n->tag))
continue;
strcpy(hex, sha1_to_hex(n->parent));
+ printf("missing %s: %s referenced by %s\n", n->tag, sha1_to_hex(n->needs), hex);
}
/* Tell the user about things not referenced.. */