summaryrefslogtreecommitdiff
path: root/tree-diff.c
diff options
context:
space:
mode:
authorLibravatar Tay Ray Chuan <rctay89@gmail.com>2010-11-25 16:21:10 +0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-11-26 14:50:46 -0800
commit6f5185bd2d87dff587e4900aa022f6f9bd088f20 (patch)
treebd1f8618a5383b039ab67de76f431e73ec0ae1a2 /tree-diff.c
parenthttp-push: add trailing slash at arg-parse time, instead of later on (diff)
downloadtgif-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 'tree-diff.c')
0 files changed, 0 insertions, 0 deletions