On Fri, 8 Jun 2007, Thomas Glanzmann wrote: > > yes, it is reproducable. Again I am off the net for an hour. Could you compile your own git? If so, please try this patch on top of current git, to make the error message a bit more informative. It does sound like a corrupt stream, but maybe debian has some strange zlib version that git doesn't like. Linus --- index-pack.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/index-pack.c b/index-pack.c index 82c8da3..542687b 100644 --- a/index-pack.c +++ b/index-pack.c @@ -277,9 +277,13 @@ static void *get_data_from_pack(struct object_entry *obj) stream.avail_in = len; inflateInit(&stream); while ((st = inflate(&stream, Z_FINISH)) == Z_OK); + if (st != Z_STREAM_END) + die("serious inflate inconsistency: %d (%s)", + st, stream.msg ? stream.msg : "no message"); + if (stream.total_out != obj->size) + die("serious inflate inconsistency: got %lu bytes, expected %lu", + stream.total_out, obj->size); inflateEnd(&stream); - if (st != Z_STREAM_END || stream.total_out != obj->size) - die("serious inflate inconsistency"); free(src); return data; } - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html