In fixup_pack_header_footer(...) file pack-write.c We have to change the size_t value returned by xread() in ssize_t, otherwise the next check on negative values has no sense. size_t is an unsigned type! I can't write now a patch because I'm on a customer site and I can't install GIT... I'm just looking at the souce code using gitweb during a coffebreak. Someone can fix it?.. Pao - 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