Subject: Re: git peer-to-peer project: info needed

From: Jonathan Nieder <[email-masked]>
Date: Sun, 29 Aug 2010 17:06:54 -0500

Hi Luke,

Luke Kenneth Casson Leighton wrote:

> i need some guidance on what i should be doing, to add peer-to-peer
> networking to "git fetch".  i can take care of the peer-to-peer
> networking side: the bit i'm unsure about is what sequence of events
> are required to happen.

Not sure if this is the best answer or not, but you might enjoy
looking at the git-remote-helpers(7) feature and git-remote-testgit.py
example.

Also, in case it is useful: the old scripted "git fetch" is available
as contrib/examples/git-fetch.sh.

Hope that helps,
Jonathan