diff options
author | Petr Baudis <pasky@suse.cz> | 2008-08-12 00:34:46 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-11 17:07:17 -0700 |
commit | 7dce9918c72148139c3eb7a2a5c66b0df9ed415d (patch) | |
tree | 6a901ac578351bf715e6751a28fb03957237f416 /t/t5540-http-push.sh | |
parent | 2860b57a87ba7e544d472701c83019d7624e6a2c (diff) | |
download | git-7dce9918c72148139c3eb7a2a5c66b0df9ed415d.tar.gz |
Adjust for the new way of enabling the default post-update hook
The post-update hook, which is required to be enabled in order for
the repository to be accessible over HTTP, is not enabled by
chmod a+x anymore, but instead by dropping the .sample suffix.
This patch emphasizes this change in the release notes (since
I believe this is rather noticeable backwards-incompatible change).
It also adjusts the documentation which still described the old way
and fixes t/t5540-http-push.sh, which was broken for 1.5 month
but apparently noone ever runs this test.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5540-http-push.sh')
-rwxr-xr-x | t/t5540-http-push.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5540-http-push.sh b/t/t5540-http-push.sh index f8c17cd96c..b0d242e3ed 100755 --- a/t/t5540-http-push.sh +++ b/t/t5540-http-push.sh @@ -41,7 +41,7 @@ test_expect_success 'setup remote repository' ' git clone --bare test_repo test_repo.git && cd test_repo.git && git --bare update-server-info && - chmod +x hooks/post-update && + mv hooks/post-update.sample hooks/post-update && cd - && mv test_repo.git "$HTTPD_DOCUMENT_ROOT_PATH" ' |