]> git.99rst.org Git - git.git/commit
send-pack: stop using `the_repository`
authorPatrick Steinhardt <redacted>
Tue, 17 Dec 2024 06:43:52 +0000 (07:43 +0100)
committerJunio C Hamano <redacted>
Wed, 18 Dec 2024 18:44:30 +0000 (10:44 -0800)
commit5ee907bb3f12c630f78554ea9b4c605f4e1a5e92
treea7371661e7d02170b44f4f96c6e0d64373ce439c
parent395b584b5751b009d657d8c3aed371f2a233d919
send-pack: stop using `the_repository`

Stop using `the_repository` in the "send-pack" subsystem by passing in a
repository when sending a packfile.

Adjust callers accordingly by using `the_repository`. While there may be
some callers that have a repository available in their context, this
trivial conversion allows for easier verification and bubbles up the use
of `the_repository` by one level.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/send-pack.c
send-pack.c
send-pack.h
transport.c
git clone https://git.99rst.org/PROJECT