2015-05-22 0:07 GMT+02:00 Junio C Hamano gits...@pobox.com:
Fredrik Medley fredrik.med...@gmail.com writes:
To allow future extensions, e.g. allowing non-tip sha1, replace the
boolean allow_tip_sha1_in_want variable with the flag-style
allow_request_with_bare_object_name variable.
Fredrik Medley fredrik.med...@gmail.com writes:
+#define ALLOW_TIP_SHA1 01
+static int allow_unadvertised_object_request;
It is better to use unsigned int for these bit masks, as we are
not interested in the top-most bit getting special-cased by using a
signed type. I'll amend this
To allow future extensions, e.g. allowing non-tip sha1, replace the
boolean allow_tip_sha1_in_want variable with the flag-style
allow_request_with_bare_object_name variable.
Signed-off-by: Fredrik Medley fredrik.med...@gmail.com
---
fetch-pack.c | 9 ++---
upload-pack.c | 20
Fredrik Medley fredrik.med...@gmail.com writes:
To allow future extensions, e.g. allowing non-tip sha1, replace the
boolean allow_tip_sha1_in_want variable with the flag-style
allow_request_with_bare_object_name variable.
Signed-off-by: Fredrik Medley fredrik.med...@gmail.com
---
4 matches
Mail list logo