upload-pack: move 'struct upload_pack_data' around
commite8498322fa033b6ed5320119a82da0bc50ca18ca
authorChristian Couder <christian.couder@gmail.com>
Fri, 15 May 2020 10:04:44 +0000 (15 12:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 May 2020 19:58:01 +0000 (18 12:58 -0700)
treea557a35d5368ea42c94d87858b5dfc082e879b60
parent389f161ab295e9aad227ba9b13cc7b61b272dda8
upload-pack: move 'struct upload_pack_data' around

As we cleanup 'upload-pack.c' by using 'struct upload_pack_data'
more thoroughly, let's move 'struct upload_pack_data' and the
related upload_pack_data_init() and upload_pack_data_clear()
functions towards the beginning of the file, so that this struct
and its related functions can then be used by upload_pack() in a
followup commit.

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