From: barkalow@iabervon.org Date: Tue, 2 Aug 2005 23:46:29 +0000 (-0400) Subject: [PATCH] Parallelize pulling by ssh X-Git-Tag: v0.99.4~58 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/70b9829ea73931f7e2f23fbe5f1853e0dca5ca12?ds=inline;hp=70b9829ea73931f7e2f23fbe5f1853e0dca5ca12 [PATCH] Parallelize pulling by ssh This causes ssh-pull to request objects in prefetch() and read then in fetch(), such that it reduces the unpipelined round-trip time. This also makes sha1_write_from_fd() support having a buffer of data which it accidentally read from the fd after the object; this was formerly not a problem, because it would always get a short read at the end of an object, because the next object had not been requested. This is no longer true. Signed-off-by: Daniel Barkalow Signed-off-by: Junio C Hamano ---