]> git.ipfire.org Git - thirdparty/git.git/commit
upload-pack: pass upload_pack_data to got_oid()
authorChristian Couder <christian.couder@gmail.com>
Thu, 11 Jun 2020 12:05:16 +0000 (14:05 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Jun 2020 20:35:35 +0000 (13:35 -0700)
commit460ed0d4b4b460ee721304a90a65f7bf2981dbe1
treee6ef650aa7c6a24968b1d6dbdf1f4c0dcbd19aad
parent086673482068391dab193c8ef9c8fefb8176a218
upload-pack: pass upload_pack_data to got_oid()

As we cleanup 'upload-pack.c' by using 'struct upload_pack_data'
more thoroughly, let's pass that struct to got_oid(), so that
this function can use all the fields of the struct.

This will be used in followup commits to move a static variable
into 'upload_pack_data'.

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