git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: How can i write a new protocol for git

From
Mike Hommey <mh@glandium.org>
Date
Sep 5, 2008, 09:47 UTC
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:
Show 7 quoted lines
> 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
Previous: Jakub NarebskiNext: Shawn O. Pearce
Message 3 of 5 in “How can i write a new protocol for git”
  1. Sky PatrickSep 5, 2008
  2. Jakub NarebskiSep 5, 2008
  3. Mike HommeySep 5, 2008
  4. Shawn O. PearceSep 5, 2008
  5. Sky PatrickSep 8, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.