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