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 /builtin/commit.c | |
| parent | http: always update the base URL for redirects (diff) | |
| download | git-fcaa6e64b3f5eecde2b818385ec6f374f61ee7b2.tar.gz git-fcaa6e64b3f5eecde2b818385ec6f374f61ee7b2.zip | |
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
