summaryrefslogtreecommitdiff
path: root/url.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2010-05-23 09:19:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-05-24 23:48:34 (GMT)
commit9d2e942070b235e1f4a0b8dd4c55a6b3f0fe914a (patch)
tree9b5415483a8e35198ab92e188cc98230f8966baf /url.c
parent638794cde08bb785410a92d293969949a1f5a846 (diff)
downloadgit-9d2e942070b235e1f4a0b8dd4c55a6b3f0fe914a.zip
git-9d2e942070b235e1f4a0b8dd4c55a6b3f0fe914a.tar.gz
git-9d2e942070b235e1f4a0b8dd4c55a6b3f0fe914a.tar.bz2
decode file:// and ssh:// URLs
We generally treat these as equivalent to "/path/to/repo" and "host:path_to_repo" respectively. However, they are URLs and as such may be percent-encoded. The current code simply uses them as-is without any decoding. With this patch, we will now percent-decode any file:// or ssh:// url (or ssh+git, git+ssh, etc) at the transport layer. We continue to treat plain paths and "host:path" syntax literally. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'url.c')
0 files changed, 0 insertions, 0 deletions