]> git.ipfire.org Git - thirdparty/git.git/commit - transport.c
transport: push codepath can take arbitrary repository
authorJunio C Hamano <gitster@pobox.com>
Tue, 8 Oct 2019 04:18:24 +0000 (13:18 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Oct 2019 04:20:01 +0000 (13:20 +0900)
commit360c7ba3305ba66bd2f38df659b6769f25be661b
treefe572df5761d90e66268fe982700f6b018f8cfe1
parent25e4b8099c0ed4c2b4eeb3c8a7edce3785d9aeab
transport: push codepath can take arbitrary repository

The previous step added annotations with "the_repository" to various
functions in the push codepath in the transport layer, but they all
can take arbitrary repository pointer, and may be working on a
repository that is not the_repository.  Fix them.

Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport.c