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 - 2:07 pm

On Mon, Nov 05, 2007 at 01:17:14PM -0500, Daniel Barkalow wrote:


Nope, that's not the problem. We _only_ update any tracking refs at all
if ret == 0, and if we fail to push, then we are setting ret to -2.

Hrm. Oh wait, it looks like we then totally write over the current value
of 'ret' when we do pack_objects. Oops.

I'm unclear how to fix this, as I'm not really sure what ret is
_supposed_ to be communicating. What does the '-2' mean, as compared to
a '-4'? Should we be doing a 'ret += pack_objects(out, remote_refs)' or
some other bit-masking magic?

-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)