diff options
author | Tay Ray Chuan <rctay89@gmail.com> | 2010-11-25 16:21:10 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-26 14:50:46 -0800 |
commit | 6f5185bd2d87dff587e4900aa022f6f9bd088f20 (patch) | |
tree | bd1f8618a5383b039ab67de76f431e73ec0ae1a2 /Documentation | |
parent | http-push: add trailing slash at arg-parse time, instead of later on (diff) | |
download | tgif-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 'Documentation')
0 files changed, 0 insertions, 0 deletions