aboutsummaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-12-06 13:24:38 -0500
committerJunio C Hamano <gitster@pobox.com>2016-12-06 12:32:48 -0800
commitfcaa6e64b3f5eecde2b818385ec6f374f61ee7b2 (patch)
treef4eb6585d94582107c94893e9c2566647c409069 /http.c
parent6628eb41db5189c0cdfdced6d8697e7c813c5f0f (diff)
downloadgit-fcaa6e64b3f5eecde2b818385ec6f374f61ee7b2.tar.gz
git-fcaa6e64b3f5eecde2b818385ec6f374f61ee7b2.tar.xz
remote-curl: rename shadowed options variable
The discover_refs() function has a local "options" variable to hold the http_get_options we pass to http_get_strbuf(). But this shadows the global "struct options" that holds our program-level options, which cannot be accessed from this function. Let's give the local one a more descriptive name so we can tell the two apart. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http.c')
0 files changed, 0 insertions, 0 deletions