]> git.ipfire.org Git - thirdparty/git.git/commit - upload-pack.c
upload-pack: refactor common code into do_got_oid()
authorChristian Couder <christian.couder@gmail.com>
Thu, 11 Jun 2020 12:05:18 +0000 (14:05 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Jun 2020 20:35:35 +0000 (13:35 -0700)
commitea2c6e6083c710fb37bff9962dbd6235f1f87d5a
tree89ce4d68c84ebc8917f01927dc33c355d67e255b
parentf01c7916b884366b842b585aa55c1c14ba524537
upload-pack: refactor common code into do_got_oid()

As 'upload-pack.c' is now using 'struct upload_pack_data'
thoroughly, let's refactor some common code into a new
do_got_oid() function.

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