aboutsummaryrefslogtreecommitdiff
path: root/sha1-lookup.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2013-09-28 04:35:10 -0400
committerJonathan Nieder <jrnieder@gmail.com>2013-10-14 16:57:04 -0700
commitc65d5692cd3434133c2e8f1a20074a261e0267f0 (patch)
tree27456795da2f1a648e4268d70687310bb7964b9f /sha1-lookup.h
parentc93c92f30977adb2eb385a851f9f5e9975da7d5e (diff)
downloadgit-c65d5692cd3434133c2e8f1a20074a261e0267f0.tar.gz
git-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 'sha1-lookup.h')
0 files changed, 0 insertions, 0 deletions