From: Jeff King Date: Mon, 19 Dec 2011 21:29:32 GMT Subject: Re: [PATCH] remote-curl: don't pass back fake refs Message-ID: <20111219212932.GA18743@sigill.intra.peff.net> In-Reply-To: <7v39cgmety.fsf@alter.siamese.dyndns.org> On Mon, Dec 19, 2011 at 01:28:09PM -0800, Junio C Hamano wrote: > > Do you want to squash in those tests, or should I re-send with a commit > > message more fully explaining the situation? > > I was lazy and added these three lines at the end: > > This also fixes pushing with --mirror to a smart-http remote that uses > alternates. The fake ".have" refs the server gives to avoid unnecessary > network transfer has a similar bad interactions with the machinery. > > but it may warrant a more thorough write-up there. I think that's probably enough. I could restructure the whole text to talk less about capabilities^{} and more about generically preventing fake refs, but I really don't think there's much point. -Peff