Re: git-fetch per-repository speed issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthias Kestenholz wrote:
* Andreas Ericsson (ae@xxxxxx) 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@xxxxxx
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]