]> git.ipfire.org Git - thirdparty/git.git/commit - upload-pack.c
upload-pack: pass upload_pack_data to send_ref()
authorChristian Couder <christian.couder@gmail.com>
Fri, 15 May 2020 10:04:50 +0000 (12:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 May 2020 19:58:02 +0000 (12:58 -0700)
commit762f92767c5d1f1d708f6656363f26bfb700f83a
tree4b7d534efd77c127ed2a2372dc0862a6a8f2f123
parent438528f611d7bf199d68584e514a304fa4153fbb
upload-pack: pass upload_pack_data to send_ref()

As we cleanup 'upload-pack.c' by using 'struct upload_pack_data'
more thoroughly, let's pass that struct to send_ref(), 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