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

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

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