summaryrefslogtreecommitdiff
path: root/url.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2013-09-28 04:35:10 -0400
committerLibravatar Jonathan Nieder <jrnieder@gmail.com>2013-10-14 16:57:04 -0700
commitc65d5692cd3434133c2e8f1a20074a261e0267f0 (patch)
tree27456795da2f1a648e4268d70687310bb7964b9f /url.c
parenthttp: update base URLs when we see redirects (diff)
downloadtgif-c65d5692cd3434133c2e8f1a20074a261e0267f0.tar.xz
remote-curl: make refs_url a strbuf
In the discover_refs function, we use a strbuf named "buffer" for multiple purposes. First we build the info/refs URL in it, and then detach that to a bare pointer. Then, we use the same strbuf to store the result of fetching the refs. Let's instead keep a separate refs_url strbuf. This is less confusing, as the "buffer" strbuf is now used for only one thing. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'url.c')
0 files changed, 0 insertions, 0 deletions