aboutsummaryrefslogtreecommitdiffstats
path: root/commit.h
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2020-06-11 14:05:12 +0200
committerJunio C Hamano <gitster@pobox.com>2020-06-11 13:35:35 -0700
commit629060d9bb5a1ab63d51b1a8fbe19384c1559140 (patch)
treea93e55c9beb9ab8cbd1f3ae2fb2942419d56f66a /commit.h
parentupload-pack: move allow_unadvertised_object_request to upload_pack_data (diff)
downloadgit-629060d9bb5a1ab63d51b1a8fbe19384c1559140.tar.gz
git-629060d9bb5a1ab63d51b1a8fbe19384c1559140.zip
upload-pack: change allow_unadvertised_object_request to an enum
As we cleanup 'upload-pack.c' by using 'struct upload_pack_data' more thoroughly, let's change allow_unadvertised_object_request, which is now part of 'upload_pack_data', from an 'unsigned int' to an enum. This will make it clear which values this variable can take. While at it let's change this variable name to 'allow_uor' to make it shorter. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions