diff options
author | Jeff King <peff@peff.net> | 2013-09-28 04:35:10 -0400 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2013-10-14 16:57:04 -0700 |
commit | c65d5692cd3434133c2e8f1a20074a261e0267f0 (patch) | |
tree | 27456795da2f1a648e4268d70687310bb7964b9f /url.c | |
parent | http: update base URLs when we see redirects (diff) | |
download | tgif-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