]> git.ipfire.org Git - thirdparty/git.git/commit - transport.h
transport.c: remove implicit dependency on the_index
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 10 Nov 2018 05:48:55 +0000 (06:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Nov 2018 05:50:05 +0000 (14:50 +0900)
commit6c6d5d0776b5eb60dc206691fc1fde755e94da20
treed004a57dadff0d37a6a4c9ca8c7cbc62f41a0394
parent878d832938100a0c4efc8373b782e086d2aae3cb
transport.c: remove implicit dependency on the_index

note, there's still another hidden dependency related to this: even
though we pass a repo to transport_push() we still use
is_bare_repository() which pretty much assumes the_repository (and
some other global state).

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/push.c
transport.c
transport.h