aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTay Ray Chuan <rctay89@gmail.com>2010-11-25 16:21:10 +0800
committerJunio C Hamano <gitster@pobox.com>2010-11-26 14:50:46 -0800
commit6f5185bd2d87dff587e4900aa022f6f9bd088f20 (patch)
treebd1f8618a5383b039ab67de76f431e73ec0ae1a2 /Makefile
parent1462d1af69247af5fa2b43f7b4fe61ec3c71b55a (diff)
downloadgit-6f5185bd2d87dff587e4900aa022f6f9bd088f20.tar.gz
git-6f5185bd2d87dff587e4900aa022f6f9bd088f20.tar.xz
http-fetch: rework url handling
Do away with a second url variable, rewritten_url, and make url non-const. This is safe because the functions called with url (ie. get_http_walker() and walker_fetch()) do not modify it (ie. marked with const char *). Also, replace code that adds a trailing slash with a call to str_end_url_with_slash(). Signed-off-by: Tay Ray Chuan <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions