author | Tarmigan Casebolt <tarmigan+git@gmail.com> | |
Mon, 28 Dec 2009 21:49:00 +0000 (16:49 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 6 Jan 2010 09:16:50 +0000 (01:16 -0800) | ||
commit | 8b2bd7cdacf71260dbc954316af2bed8e076c182 | |
tree | 81e62e0a245f409adb2db62ec792c49ab1033901 | tree | snapshot |
parent | 902f235378cb2b2f6dd5dd664b9630c95321f0ae | commit | diff |
Smart-http: check if repository is OK to export before serving it
Similar to how git-daemon checks whether a repository is OK to be
exported, smart-http should also check. This check can be satisfied
in two different ways: the environmental variable GIT_HTTP_EXPORT_ALL
may be set to export all repositories, or the individual repository
may have the file git-daemon-export-ok.
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Tarmigan Casebolt <tarmigan+git@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Similar to how git-daemon checks whether a repository is OK to be
exported, smart-http should also check. This check can be satisfied
in two different ways: the environmental variable GIT_HTTP_EXPORT_ALL
may be set to export all repositories, or the individual repository
may have the file git-daemon-export-ok.
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Tarmigan Casebolt <tarmigan+git@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-http-backend.txt | diff | blob | history | |
http-backend.c | diff | blob | history | |
t/lib-httpd/apache.conf | diff | blob | history | |
t/t5560-http-backend.sh | diff | blob | history |