From: Mike Hommey Date: Tue, 13 Oct 2009 04:41:41 GMT Subject: Re: [RFC PATCH v2 09/16] Move WebDAV HTTP push under remote-curl Message-ID: <20091013044141.GA18961@glandium.org> In-Reply-To: <1255400715-10508-10-git-send-email-spearce@spearce.org> On Mon, Oct 12, 2009 at 07:25:08PM -0700, Shawn O. Pearce wrote: > The remote helper interface now supports the push capability, > which can be used to ask the implementation to push one or more > specs to the remote repository. For remote-curl we implement this > by calling the existing WebDAV based git-http-push executable. > > Internally the helper interface uses the push_refs transport hook > so that the complexity of the refspec parsing and matching can be > reused between remote implementations. When possible however the > helper protocol uses source ref name rather than the source SHA-1, > thereby allowing the helper to access this name if it is useful. It's been a while I haven't followed changes in the remote code but this looks nice, though I haven't checked thoroughly. I guess the next step would be to kill http-push as an external program. Mike