On Mon, 2007-03-19 at 22:29 -0700, Junio C Hamano wrote: > if (status < 0) > error("corrupt loose object '%s'", > sha1_to_hex(sha1)); > else if (stream->avail_in) > error("garbage at end of loose object '%s'", > sha1_to_hex(sha1)); > free(buf); > return NULL; > } > > Can you check what the value of the status is at that point? status is 0 (Z_OK), stream->avail_in is 8. I changed the code to print them from the error() that prints "garbage at end of loose object". -- Regards, Pavel Roskin - 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