[PATCH v7 0/9] connect: various cleanups
- From
Mike Hommey <mh@glandium.org>
- Date
- May 21, 2016, 23:17 UTC
- Message-ID
- <20160521231732.4888-1-mh@glandium.org>
Difference with v6: - Dropped the core.gitProxy change as per discussion. - Added a comment about the extra get_port.
Note that after this series, parse_connect_url can be further refactored to avoid the kind of back-and-forth with host_end, get_host_and_port and get_port.
Mike Hommey (9):
connect: document why we sometimes call get_port after
get_host_and_port
connect: call get_host_and_port() earlier
connect: re-derive a host:port string from the separate 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 | 231 +++++++++++++++++++++++++++++--------------------- t/t5500-fetch-pack.sh | 42 ++++++--- 2 files changed, 166 insertions(+), 107 deletions(-)
-- 2.8.3.401.ga81c606.dirty