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.
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.. */