From: Jeff King Date: Wed, 22 Apr 2009 20:50:07 GMT Subject: Re: Cryptic error messages? Message-ID: <20090422205006.GE14146@coredump.intra.peff.net> In-Reply-To: <20090422203251.GD14146@coredump.intra.peff.net> On Wed, Apr 22, 2009 at 04:32:51PM -0400, Jeff King wrote: > 3. receive-pack notices that the unpacker failed, and spews > > error: unpack failed: unpacker exited with error code > > to stderr, in case unpack-objects didn't say anything. Actually, this is not true. receive-pack actually passes the error code back to send-pack, which prints it. I think it is doing so because we get that status separate from the individual ref status. But if you look at receive-pack, it doesn't even bother trying individual refs if the unpack failed; every ref will just get the "unpack failed" message. -Peff