Thread (14 messages) flat view 14 messages, 6 authors, 2016-06-15

Re: What to expect after 0.99.8

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:07

Daniel Barkalow [off-list ref] writes:
The code in ssh-fetch already does parallel fetching, actually (only over 
one connection, but requests are sent before responses are read), so 
multiple requests are in progress at the same time.
This reminds me of one patch:

    From: Dan Aloni [off-list ref]
    Subject: [PATCH] Fix git+ssh's indefinite halts during long fetches
    Date: Sat, 1 Oct 2005 21:39:42 +0300
    Message-ID: <20051001183942.GA2099@localdomain>

I'd appreciate it if you had a chance to take a look at it and
comment on it.

The change is isolated to ssh-fetch [*1*], so even if it were to
break something it would only break ssh-fetch and in that sense
it is a safer change.

But it still is a lot of code, and I felt there might be a
simpler way to do this.  That is why I am deliberately holding
it off.

[Footnote]

*1* The patch touches sha1_file.c and cache.h but that is to
update write_sha1_from_fd(), which is used only by ssh-fetch
AFAICT.  We may want to move it from sha1_file.c to sha1-fetch.c
and make it static, removing it from cache.h.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help