Merge branch 'tb/clone-ssh-with-colon-for-port' into maint
commit1a111957b36951f9b87286c802996a6c2aa07c24
authorJunio C Hamano <gitster@pobox.com>
Wed, 5 Feb 2014 21:59:16 +0000 (5 13:59 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Feb 2014 21:59:16 +0000 (5 13:59 -0800)
treec3319e5cefe99f728550579404bd84dbf52bb891
parentbf03d6e92d63caa81e5ba410f0eed89b700e042d
parenta2036d7e00ad8aa16ba010a80078e10f0e4568a3
Merge branch 'tb/clone-ssh-with-colon-for-port' into maint

Remote repository URL expressed in scp-style host:path notation are
parsed more carefully (e.g. "foo/bar:baz" is local, "[::1]:/~user" asks
to connect to user's home directory on host at address ::1.

* tb/clone-ssh-with-colon-for-port:
  git_connect(): use common return point
  connect.c: refactor url parsing
  git_connect(): refactor the port handling for ssh
  git fetch: support host:/~repo
  t5500: add test cases for diag-url
  git fetch-pack: add --diag-url
  git_connect: factor out discovery of the protocol and its parts
  git_connect: remove artificial limit of a remote command
  t5601: add tests for ssh
  t5601: remove clear_ssh, refactor setup_ssh_wrapper