]> git.ipfire.org Git - thirdparty/git.git/commit
t5551: mark half-auth no-op fetch test as v0-only
authorJonathan Tan <jonathantanmy@google.com>
Fri, 22 Mar 2019 19:01:39 +0000 (12:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 24 Mar 2019 12:29:52 +0000 (21:29 +0900)
commit3a9e1ad78d97e008aaaf7e3cc0eaa231a742931c
tree87243fcfed55a0d19638281122d20063d35829ef
parentaeb582a98374c094361cba1bd756dc6307432c42
t5551: mark half-auth no-op fetch test as v0-only

When using protocol v0, upload-pack over HTTP permits a "half-auth"
configuration in which, at the web server layer, the info/refs path is
not protected by authentication but the git-upload-pack path is, so that
a user can perform fetches that do not download any objects without
authentication, but still needs authentication to download objects.

But protocol v2 does not support this, because both ref and pack are
obtained from the git-upload-pack path.

Mark the test verifying this behavior as protocol v0-only, with a
description of what needs to be done to make v2 support this.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5551-http-fetch-smart.sh