Re: How to make Cogito use git-fetch-pack?
- From
- H. Peter Anvin <hpa@zytor.com>
- Date
- Sep 26, 2005, 18:10 UTC
- Message-ID
- <43383999.8090508@zytor.com>
- In-Reply-To
- <4334B428.7020608@zytor.com>
H. Peter Anvin wrote:
Show 15 quoted lines
> Petr Baudis wrote: > >> Dear diary, on Sat, Sep 24, 2005 at 12:20:08AM CEST, I got a letter >> where "H. Peter Anvin" <hpa@zytor.com> told me that... >> >>> Is there any way to make Cogito use git-fetch-pack instead of >>> git-ssh-fetch? git+ssh:// seems to invoke the latter. >> >> >> I just added git+packed+ssh:// to be used for this purpose. >> > > Since git tends to use "pack" (e.g. git-fetch-pack) I'd suggest use > git+pack+ssh:// instead. It's shorter, too. >
I thought some more about this, and realized that it really doesn't make sense for there to be another name for this. Simply put, git+ssh:// requires ssh access and git to be present on the other side, and within those parameters it should use whatever access method is most effective. Thus, having a separate URL type only makes sense if something is fundamentally and user-visibly different between the two.
-hpa