Re: git-fetch per-repository speed issues
- From
Andreas Ericsson <ae@op5.se>
- Date
- Jul 4, 2006, 12:05 UTC
- Message-ID
- <44AA5987.5060206@op5.se>
- In-Reply-To
- <20060704111838.GA4285@spinlock.ch>
Matthias Kestenholz wrote:
Show 30 quoted lines
> * Andreas Ericsson (ae@op5.se) wrote: > >>Keith Packard wrote: >> >>>On Mon, 2006-07-03 at 20:40 -0700, Linus Torvalds wrote: >>> >>> >>> >>>> "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