upload-pack: prepare to extend allow-tip-sha1-in-want
commit7199c093ad4a90bd0d9012681b6a148ab8c945e3
authorFredrik Medley <fredrik.medley@gmail.com>
Thu, 21 May 2015 20:23:38 +0000 (21 22:23 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 23 May 2015 01:25:35 +0000 (22 18:25 -0700)
tree0117a4fc287c18e696212dbbe5533941e038077f
parentbc0a4741492d20a59217c51c955c80b0ac3cff5b
upload-pack: prepare to extend allow-tip-sha1-in-want

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.medley@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fetch-pack.c
upload-pack.c