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

2013-10-28 Thread Jeff King
On Mon, Oct 28, 2013 at 01:57:13PM -0700, Junio C Hamano wrote: > > +i5601=0 > > +# $1 url > > +# $2 none|host > > +# $3 path > > +test_clone_url () { > > + i5601=$(($i5601 + 1)) > > + >"$TRASH_DIRECTORY/ssh-output" && > > + test_might_fail git clone "$1" tmp$i5601 && > > { > > -

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

2013-10-28 Thread Jeff King
On Mon, Oct 28, 2013 at 09:16:19PM +0100, Torsten Bögershausen wrote: > 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 fo

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

2013-10-28 Thread Junio C Hamano
Torsten Bögershausen writes: > (This does apply on pu, not on master. Hmph. At least for me, it applies down to cabb411f (Merge branch 'nd/clone-local-with-colon', 2013-10-14) just fine. Puzzled. > diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh > index 1d1c875..a126f08 100755 > --- a/t/t560

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

2013-10-28 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