]> git.ipfire.org Git - thirdparty/git.git/commit - upload-pack.c
upload-pack: annotate upload_pack_data fields
authorChristian Couder <christian.couder@gmail.com>
Thu, 4 Jun 2020 17:54:39 +0000 (19:54 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Jun 2020 17:58:25 +0000 (10:58 -0700)
commita84972882141c68de40660743e3fddf4394886fe
tree50b9967a54ec5aded82698af5b7595e67508e0ee
parentb5a2068cb1f879b8bff2bfbf99304091d03ce3af
upload-pack: annotate upload_pack_data fields

As we cleanup 'upload-pack.c' by using 'struct upload_pack_data'
more thoroughly, let's annotate fields from this struct to let
people know which ones are used only for protocol v0 and which
ones only for protocol v2.

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