diff options
| author | Christian Couder <christian.couder@gmail.com> | 2020-06-11 14:05:12 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-06-11 13:35:35 -0700 |
| commit | 629060d9bb5a1ab63d51b1a8fbe19384c1559140 (patch) | |
| tree | a93e55c9beb9ab8cbd1f3ae2fb2942419d56f66a /commit.c | |
| parent | upload-pack: move allow_unadvertised_object_request to upload_pack_data (diff) | |
| download | git-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.c')
0 files changed, 0 insertions, 0 deletions
