Re: "git-send-pack"

From: Linus Torvalds <torvalds@osdl.org>
Date: 2005-07-01 07:08:08
On Thu, 30 Jun 2005, Junio C Hamano wrote:
> 
> Now is there anything for us poor mortals who would want to have
> a "pull" support?  Logging in via ssh and run send-pack on the
> other end is workable but not so pretty ;-).

I'm thinking about it. You can't actually do send-pack from the other end,
since send-pack needs to know what the base is, and the base you have may
not even exist in the remote.

So a "git-pull-pack" will follow the objects on the other side until it 
hits one we have, and _then_ it can send a nice pack. It's not hard per 
se, and some of the problems are actually simpler than git-send-pack, but 
it needs more communication (and in order to be efficient you want to not 
ping-pong a "do-you-have-it" query every time around).

I also want to make sure that the biggest burden is on the pull side, not 
the push side. I have a plan, though.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Jul 01 07:08:42 2005

This archive was generated by hypermail 2.1.8 : 2005-07-01 07:09:47 EST