]> git.ipfire.org Git - thirdparty/git.git/commit
upload-pack: move symref to upload_pack_data
authorChristian Couder <christian.couder@gmail.com>
Fri, 15 May 2020 10:04:49 +0000 (12:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 May 2020 19:58:01 +0000 (12:58 -0700)
commit438528f611d7bf199d68584e514a304fa4153fbb
tree15cd98d8494b6d90808055ea1f130a9ca9a18c37
parent4ace0283b7dbfef1030d1998345a50af9946ea88
upload-pack: move symref to upload_pack_data

As we cleanup 'upload-pack.c' by using 'struct upload_pack_data'
more thoroughly, we are passing around that struct to many
functions, so let's also pass 'struct string_list symref' around
at the same time by moving it from a local variable in
upload_pack() into a field of 'struct upload_pack_data'.

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