Re: [RFC PATCH v2 09/16] Move WebDAV HTTP push under remote-curl
From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:47:32
Hi, On Tue, 13 Oct 2009, Mike Hommey wrote:
On Mon, Oct 12, 2009 at 07:25:08PM -0700, Shawn O. Pearce wrote:quoted
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.
Ilari made signs on IRC that he got something working. After, ahem, saying a few things about the design of the remote helpers. Ciao, Dscho