Thread (7 messages) flat view 7 messages, 1 author, 2016-06-15

Re: [PATCH] send-pack: improve error reporting for total remote unpack

From: Jeff King <hidden>
Date: 2016-06-15 22:43:52

On Sun, Nov 18, 2007 at 12:58:06AM -0500, Jeff King wrote:
One other thing I noticed while doing this patch is that our remote ref
status reporting isn't foolproof.  We set every ref we send to 'OK' with
the nice effect that if status reporting isn't enabled, we just assume
that it worked. However, if the status coming back is truncated (i.e.,
some refs are missing in receive_status), we will just fail to notice and
assume all is well. So to be perfect, we would need a
REF_STATUS_EXPECTING_REPORT.
This turned out to be pretty easy, given the other recent changes, and I
think it actually makes the code a bit clearer. Please scrap the patch
to which I am replying, and I will post a replacement series in a
second.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help