index-pack: make fsck error message more specific
commitdb5a58c1bda5b20169b9958af1e8b05ddd178b01
authorJeff King <peff@peff.net>
Wed, 2 May 2018 20:37:09 +0000 (2 16:37 -0400)
committerJeff King <peff@peff.net>
Tue, 22 May 2018 03:55:12 +0000 (21 23:55 -0400)
tree14f09f12506be808e45ec8b86e444a8781043e8b
parenteedd5949f5a6b1bb86726051d0916421cdbb5dcd
index-pack: make fsck error message more specific

If fsck reports an error, we say only "Error in object".
This isn't quite as bad as it might seem, since the fsck
code would have dumped some errors to stderr already. But it
might help to give a little more context. The earlier output
would not have even mentioned "fsck", and that may be a clue
that the "fsck.*" or "*.fsckObjects" config may be relevant.

Signed-off-by: Jeff King <peff@peff.net>
builtin/index-pack.c
builtin/unpack-objects.c