[PATCH v6 0/9] connect: various cleanups
- From
Mike Hommey <mh@glandium.org>
- Date
- May 17, 2016, 01:35 UTC
- Message-ID
- <20160517013554.22578-1-mh@glandium.org>
The main difference here is patch 2/9 now throwing an error in user's face when they have a core.gitProxy configuration with a port number. There might be some bikeshedding to do on the content of the error message.
Mike Hommey (9):
connect: call get_host_and_port() earlier
connect: only match the host with core.gitProxy
connect: fill the host header in the git protocol with the host and
port variables
connect: make parse_connect_url() return separated host and port
connect: group CONNECT_DIAG_URL handling code
connect: make parse_connect_url() return the user part of the url as a
separate value
connect: change the --diag-url output to separate user and host
connect: actively reject git:// urls with a user part
connect: move ssh command line preparation to a separate functionconnect.c | 243 +++++++++++++++++++++++++++++-------------------- t/t5500-fetch-pack.sh | 42 ++++++--- t/t5532-fetch-proxy.sh | 8 +- 3 files changed, 183 insertions(+), 110 deletions(-)
-- 2.8.2.411.ga570dec.dirty