diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-08-19 14:48:54 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-19 14:48:54 -0700 |
commit | 4bfab58ce2d47cef9236571cb1451bf3b62241c1 (patch) | |
tree | 9029ee6b432c0f6a5faddc0a7d89ea6c2b821815 /builtin/update-server-info.c | |
parent | Merge branch 'jk/guess-repo-name-regression-fix' (diff) | |
parent | clone: abort if no dir name could be guessed (diff) | |
download | tgif-4bfab58ce2d47cef9236571cb1451bf3b62241c1.tar.xz |
Merge branch 'ps/guess-repo-name-at-root'
"git clone $URL", when cloning from a site whose sole purpose is to
host a single repository (hence, no path after <scheme>://<site>/),
tried to use the site name as the new repository name, but did not
remove username or password when <site> part was of the form
<user>@<pass>:<host>. The code is taught to redact these.
* ps/guess-repo-name-at-root:
clone: abort if no dir name could be guessed
clone: do not use port number as dir name
clone: do not include authentication data in guessed dir
Diffstat (limited to 'builtin/update-server-info.c')
0 files changed, 0 insertions, 0 deletions