Re: [PATCH/RFC] git clone: is an URL local or ssh

2013-10-27 Thread Eric Sunshine
On Saturday, October 26, 2013, Torsten Bögershausen wrote: > diff --git a/connect.c b/connect.c > index 06e88b0..903063e 100644 > --- a/connect.c > +++ b/connect.c > @@ -564,9 +574,9 @@ struct child_process *git_connect(int fd[2], const char > *url_orig, > char *url; > char *host,

[PATCH/RFC] git clone: is an URL local or ssh

2013-10-26 Thread Torsten Bögershausen
Commit 8d3d28f5 added test cases for URLs which should be ssh. Add more tests testing all the combinations: -IPv4 or IPv6 -path starting with "/" or with "/~" -with and without the ssh:// scheme Add tests for ssh:// with port number. When a git repository "foo:bar" exist, git clone will call