upload-pack: pass upload_pack_data to check_non_tip()
commitb08c97423fa3f55c1b40eb4b3604c4f990dd955b
authorChristian Couder <christian.couder@gmail.com>
Fri, 15 May 2020 10:04:51 +0000 (15 12:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 May 2020 19:58:02 +0000 (18 12:58 -0700)
treeddbf862cfcf2602fe15b082b36957b72363e1e24
parent762f92767c5d1f1d708f6656363f26bfb700f83a
upload-pack: pass upload_pack_data to check_non_tip()

As we cleanup 'upload-pack.c' by using 'struct upload_pack_data'
more thoroughly, let's pass that struct to check_non_tip(), so
that this function and the functions it calls, can use all the
fields of the struct in followup commits.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
upload-pack.c