diff options
| author | Jeff King <peff@peff.net> | 2016-12-06 13:24:38 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-12-06 12:32:48 -0800 |
| commit | fcaa6e64b3f5eecde2b818385ec6f374f61ee7b2 (patch) | |
| tree | f4eb6585d94582107c94893e9c2566647c409069 /t/t1507-rev-parse-upstream.sh | |
| parent | 6628eb41db5189c0cdfdced6d8697e7c813c5f0f (diff) | |
| download | git-fcaa6e64b3f5eecde2b818385ec6f374f61ee7b2.tar.gz | |
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 't/t1507-rev-parse-upstream.sh')
0 files changed, 0 insertions, 0 deletions
