Re: [bug in next ?] git-fetch/git-push issue

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff King
Date: Monday, November 5, 2007 - 8:26 pm

On Mon, Nov 05, 2007 at 06:46:08PM -0500, Daniel Barkalow wrote:


This is OK, I guess. But it really doesn't accomplish the useful thing
we might get by noting per-ref errors, which is that we _can_ update the
tracking refs for those refs where it is appropriate.

We would have to parse the lines from receive_status and match them with
refs. I started a patch to do this, but I wonder if it is really worth
it. I would think that 99% of the time you have a failure at the sending
level, it's because the connection is broken, and you have no idea
_which_ refs were updated anyway, and you have to assume that none were.
So perhaps it is OK to just treat the two classes of errors differently,
and only cover per-ref errors for the "-2" case.

-Peff
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[bug in next ?] git-fetch/git-push issue, Pierre Habouzit, (Mon Nov 5, 10:56 am)
Re: [bug in next ?] git-fetch/git-push issue, Daniel Barkalow, (Mon Nov 5, 11:17 am)
Re: [bug in next ?] git-fetch/git-push issue, Pierre Habouzit, (Mon Nov 5, 11:19 am)
Re: [bug in next ?] git-fetch/git-push issue, Jeff King, (Mon Nov 5, 2:07 pm)
Re: [bug in next ?] git-fetch/git-push issue, Daniel Barkalow, (Mon Nov 5, 2:41 pm)
Re: [bug in next ?] git-fetch/git-push issue, Jeff King, (Mon Nov 5, 3:55 pm)
Re: [bug in next ?] git-fetch/git-push issue, Junio C Hamano, (Mon Nov 5, 4:22 pm)
Re: [bug in next ?] git-fetch/git-push issue, Daniel Barkalow, (Mon Nov 5, 4:46 pm)
Re: [bug in next ?] git-fetch/git-push issue, Daniel Barkalow, (Mon Nov 5, 4:59 pm)
Re: [bug in next ?] git-fetch/git-push issue, Jeff King, (Mon Nov 5, 8:26 pm)
Re: [bug in next ?] git-fetch/git-push issue, Pierre Habouzit, (Tue Nov 6, 10:56 am)
Re: [bug in next ?] git-fetch/git-push issue, Jeff King, (Tue Nov 6, 11:09 am)
Re: [bug in next ?] git-fetch/git-push issue, Junio C Hamano, (Tue Nov 6, 11:23 am)
Re: [bug in next ?] git-fetch/git-push issue, Jeff King, (Tue Nov 6, 11:41 am)
Re: [bug in next ?] git-fetch/git-push issue, Pierre Habouzit, (Tue Nov 6, 12:37 pm)
Re: [bug in next ?] git-fetch/git-push issue, Pierre Habouzit, (Wed Nov 7, 8:11 am)