Re: [REROLL PATCH 3/8] Pass unknown protocols to external protocol handlers

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

 



On Wed, Dec 9, 2009 at 00:35, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Ilari Liusvaara <ilari.liusvaara@xxxxxxxxxxx> writes:
>> +     } else if (!is_url(url)
>> +             || !prefixcmp(url, "file://")
>> +             || !prefixcmp(url, "git://")
>> +             || !prefixcmp(url, "ssh://")
>> +             || !prefixcmp(url, "git+ssh://")
>> +             || !prefixcmp(url, "ssh+git://")) {
>> +             /* These are builtin smart transports. */
>
> Hmm, what is !is_url(url) at the beginning for, if this lists "builtin"
> smart transports?
I think/hope this should catch theses use cases:

       ?   [user@]host.xz:/path/to/repo.git/
       ?   [user@]host.xz:~user/path/to/repo.git/
       ?   [user@]host.xz:path/to/repo.git
--
To unsubscribe from this list: 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]