summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Glen Choo <chooglen@google.com>2021-11-17 16:53:24 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-11-18 22:31:19 -0800
commit56eed3422cb4605a616daab589b94a843a75651f (patch)
treed5d1b15dc560e7d1f620abbcd5faab02d31917bd /.github
parentremote: use remote_state parameter internally (diff)
downloadtgif-56eed3422cb4605a616daab589b94a843a75651f.tar.xz
remote: remove the_repository->remote_state from static methods
Replace all remaining references of the_repository->remote_state in static functions with a struct remote_state parameter. To do so, move read_config() calls to non-static functions and create a family of static functions, "remotes_*", that behave like "repo_*", but accept struct remote_state instead of struct repository. In the case where a static function calls a non-static function, replace the non-static function with its "remotes_*" equivalent. 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 '.github')
0 files changed, 0 insertions, 0 deletions