diff options
author | Erik Faye-Lund <kusmabite@gmail.com> | 2009-03-11 02:38:12 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-10 21:42:58 -0700 |
commit | 15112c9599f99487211855db7a7a347f20ad9ed5 (patch) | |
tree | 82f30cf82e5714daee527fccb65f6f4b5b4f3f68 /builtin-read-tree.c | |
parent | c4994ce953b4f0fdbf80004da24ef845907d7dd8 (diff) | |
download | git-15112c9599f99487211855db7a7a347f20ad9ed5.tar.gz git-15112c9599f99487211855db7a7a347f20ad9ed5.tar.xz |
connect.c: remove a few globals by using git_config callback data
Since ef90d6d (Provide git_config with a callback-data parameter,
2008-05-14), git_config() takes a callback data pointer that can be
used to pass extra parameters to the parsing function. The codepath
to parse configuration variables related to git proxy predates this
facility and used a pair of file scope static variables instead.
This patch removes the need for these global variables by passing the
name of the host we are trying to access as the callback data.
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-read-tree.c')
0 files changed, 0 insertions, 0 deletions