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

Re: git-fetch per-repository speed issues

From: Andreas Ericsson <hidden>
Date: 2016-06-15 22:42:32

Possibly related (same subject, not in this thread)

Matthias Kestenholz wrote:
* Andreas Ericsson (ae@op5.se) wrote:
quoted
Keith Packard wrote:
quoted
On Mon, 2006-07-03 at 20:40 -0700, Linus Torvalds wrote:


quoted
 "And, it's painfully slow, even when the repository is up to date"

and gave a 17-second time.

It's faster this evening, down to 8 seconds using ssh and 4 seconds
using git. I clearly need to force use of the git protocol. Anyone else
like the attached patch?
Since it changes the current meaning of ssh+git, I'm not exactly 
thrilled. However, "git/ssh" or "ssh/git" would work fine for me. The 
slash-separator could be used to say "fetch over this, push over that", 
so we can end up with any valid protocol to use for fetches and another 
one to push over.

If we would do such a thing, we would be probably better off
allowing different URLs for pushing and pulling, because the git and
ssh URLs will only be the same, if the git repositories are located
in the root folder and I suspect that's almost never the case.
True. We use relative paths where I work, so for us either way would 
work. Your way is better though.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help