Re: Pushing with --mirror over HTTP?
- From
Jeff King <peff@peff.net>
- Date
- Dec 19, 2011, 17:12 UTC
- Message-ID
- <20111219171211.GA20844@sigill.intra.peff.net>
- In-Reply-To
- <20072.12104.965815.994761@winooski.ccs.neu.edu>
On Wed, Sep 07, 2011 at 10:58:16PM -0400, Eli Barzilay wrote:
Show 16 quoted lines
> 5 hours ago, Jeff King wrote: > > On Mon, Sep 05, 2011 at 12:05:37AM -0400, Eli Barzilay wrote: > > > > > Is there anything broken with pushing with mirror over HTTP? I'm > > > trying that with a github url, and I get a broken-looking error > > > message: > > > > > > remote part of refspec is not a valid name in :.have > > > > It's probably nothing to do with http, but rather with alternate > > object databases on the server (which GitHub uses heavily). The > > server hands out fake ".have" refs telling you it has some other > > branch tips to base packs off of. So I suspect the "push --mirror" > > code is simply wrong for trying to update those refs (it may be > > exacerbated by using http, though, as the remote helper code seems > > to have some extra checks).
Sorry for the very delayed response on your bug, but at least I have good news. :)
It should be fixed by:
http://article.gmane.org/gmane.comp.version-control.git/187373
(I was trying to fix another bug there, but see my followup for a discussion of .have).
-Peff