path: root/Documentation/git-http-backend.txt
diff options
authorShawn O. Pearce <>2009-11-05 01:16:37 (GMT)
committerJunio C Hamano <>2009-11-05 01:58:16 (GMT)
commit5abb013b3ddfb42e5baa3c7de052af596a0ee82f (patch)
tree90102197d380c4041c38f246776576f8c821cc4f /Documentation/git-http-backend.txt
parent7da4e2280ccaf5ecb357f7cb2b81d62f78f00f9e (diff)
http-backend: Use http.getanyfile to disable dumb HTTP serving
Some repository owners may wish to enable smart HTTP, but disallow dumb content serving. Disallowing dumb serving might be because the owners want to rely upon reachability to control which objects clients may access from the repository, or they just want to encourage clients to use the more bandwidth efficient transport. If http.getanyfile is set to false the backend CGI will return with '403 Forbidden' when an object file is accessed by a dumb client. Signed-off-by: Shawn O. Pearce <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-http-backend.txt')
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/git-http-backend.txt b/Documentation/git-http-backend.txt
index f17251a..67aec06 100644
--- a/Documentation/git-http-backend.txt
+++ b/Documentation/git-http-backend.txt
@@ -29,6 +29,14 @@ SERVICES
These services can be enabled/disabled using the per-repository
configuration file:
+ This serves older Git clients which are unable to use the
+ upload pack service. When enabled, clients are able to read
+ any file within the repository, including objects that are
+ no longer reachable from a branch but are still present.
+ It is enabled by default, but a repository can disable it
+ by setting this configuration item to `false`.
This serves 'git-fetch-pack' and 'git-ls-remote' clients.
It is enabled by default, but a repository can disable it