aboutsummaryrefslogtreecommitdiffstats
path: root/http-push.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-11-19 08:50:56 +0100
committerJunio C Hamano <gitster@pobox.com>2025-11-25 12:16:00 -0800
commiteea83c010cf431325a05f06cc7c64029538c8495 (patch)
tree95059840542efb8914fd2108addee921077042f9 /http-push.c
parent8dc22e87f000a092b62b4fb08e2542433f1ae192 (diff)
downloadgit-eea83c010cf431325a05f06cc7c64029538c8495.tar.gz
t/helper: stop setting up `the_repository` repeatedly
The "repository" test helper sets up `the_repository` twice. In fact though, we don't even have to set it up even once: all we need is to set up its hash algorithm, because we still depend on some subsystems that aren't free of `the_repository`. Refactor the code accordingly. This prepares for a subsequent change, where setting up the repository repeatedly will lead to a `BUG()`. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-push.c')
0 files changed, 0 insertions, 0 deletions