]> git.ipfire.org Git - thirdparty/git.git/commit - remote-curl.c
remote-curl: rename shadowed options variable
authorJeff King <peff@peff.net>
Tue, 6 Dec 2016 18:24:38 +0000 (13:24 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Dec 2016 20:32:48 +0000 (12:32 -0800)
commitfcaa6e64b3f5eecde2b818385ec6f374f61ee7b2
treef4eb6585d94582107c94893e9c2566647c409069
parent6628eb41db5189c0cdfdced6d8697e7c813c5f0f
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>
remote-curl.c