summaryrefslogtreecommitdiff
path: root/t/t3000-ls-files-others.sh
diff options
context:
space:
mode:
authorLibravatar Glen Choo <chooglen@google.com>2021-11-17 16:53:23 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-11-18 22:31:19 -0800
commit085b98f6cdbe9ed794e19ded00ccd0431c30faa0 (patch)
tree3002c91fceb943ef7cb658c8dd6632fedf5db8f0 /t/t3000-ls-files-others.sh
parentremote: move static variables into per-repository struct (diff)
downloadtgif-085b98f6cdbe9ed794e19ded00ccd0431c30faa0.tar.xz
remote: use remote_state parameter internally
Without changing external-facing functions, replace the_repository->remote_state internally by adding a struct remote_state parameter. As a result, external-facing functions are still tied to the_repository, but most static functions no longer reference the_repository->remote_state. The exceptions are those that are used in a way that depends on external-facing functions e.g. the callbacks to remote_get_1(). Signed-off-by: Glen Choo <chooglen@google.com> Reviewed-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3000-ls-files-others.sh')
0 files changed, 0 insertions, 0 deletions