Merge branch 'gc/remote-with-fewer-static-global-variables'
commit6d1e149ac04717efff7e0748509036a87cbb95e1
authorJunio C Hamano <gitster@pobox.com>
Fri, 10 Dec 2021 22:35:02 +0000 (10 14:35 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Dec 2021 22:35:02 +0000 (10 14:35 -0800)
treef923dcf112bedce2b26e58b9af673fc53e33c2d7
parent5396d7b298e9db83e98fb6a552a42a6a59984305
parent4a2dcb1a08008bfc48c32f408e8622bd0c4ca297
Merge branch 'gc/remote-with-fewer-static-global-variables'

Code clean-up to eventually allow information on remotes defined
for an arbitrary repository to be read.

* gc/remote-with-fewer-static-global-variables:
  remote: die if branch is not found in repository
  remote: remove the_repository->remote_state from static methods
  remote: use remote_state parameter internally
  remote: move static variables into per-repository struct
  t5516: add test case for pushing remote refspecs
remote.c