]> git.ipfire.org Git - thirdparty/git.git/commit - upload-pack.c
upload-pack: pass upload_pack_data to deepen_by_rev_list()
authorChristian Couder <christian.couder@gmail.com>
Thu, 11 Jun 2020 12:05:07 +0000 (14:05 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Jun 2020 20:35:34 +0000 (13:35 -0700)
commit446e42c559c79e7dae34b584fef4f7c26dee5198
tree19490fbade16daff57c875fdc46d9589ac1290b1
parentb1492f22f0c597ff43a790472f50aa114fe4fb73
upload-pack: pass upload_pack_data to deepen_by_rev_list()

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

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

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