From: Mike Hommey Date: Fri, 05 Sep 2008 09:47:46 GMT Subject: Re: How can i write a new protocol for git Message-ID: <20080905094746.GA26820@glandium.org> In-Reply-To: <976e6d070809050222v1580ae53ye96dee913d44ae4b@mail.gmail.com> On Fri, Sep 05, 2008 at 05:22:57PM +0800, Sky Patrick wrote: > Hi, > > If i want to write a new protocol for file transfer and would like to > to integrate it with git. Is it possible and easy to integrate it ? > Currently, i know that jgit may achieve it, but it is a Java > implementation and may not work with git command line program that > written in C. First, it would depend if you need this new protocol to be a dumb protocol (like rsync and http) or "native" (git or ssh). I've been meaning to refactor the dumb protocol "stack" for a while, but haven't gone much further than ideas in my mind (i.e. no code). I also have some start of http code recfactoring, that is waiting for this dumb protocol rework to be completed. Mike