Ilari Liusvaara <ilari.liusvaara@xxxxxxxxxxx> wrote: > On Tue, Dec 01, 2009 at 11:22:33AM -0800, Shawn O. Pearce wrote: > > Why both connect-r and invoke-r? Why isn't connect-r sufficient > > here? Isn't it sufficient for any service that runs over git:// ? > > Invoke supports those --upload-pack &co (a'la ssh://). connect > doesn't (a'la to git://). Drop invoke-r. Modify transport-helper.c to allow pushing TRANS_OPT_UPLOADPACK and TRANS_OPT_RECEIVEPACK down into the helper via the option capability. I'd rename connect-r to just connect. For the command line: $ git fetch --upload-pack='/path to my /git-upload-pack' origin The conversation with the helper will be: > capabilities < option < connect < > option uploadpack /path to my /git-upload-pack < ok > connect git-upload-pack < Which gives the helper the full information it needs to pass along the --upload-pack command line argument to the remote system. -- Shawn. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html