path: root/Documentation/user-manual.txt
diff options
authorPetr Baudis <>2008-08-11 22:34:46 (GMT)
committerJunio C Hamano <>2008-08-12 00:07:17 (GMT)
commit7dce9918c72148139c3eb7a2a5c66b0df9ed415d (patch)
tree6a901ac578351bf715e6751a28fb03957237f416 /Documentation/user-manual.txt
parent2860b57a87ba7e544d472701c83019d7624e6a2c (diff)
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/, which was broken for 1.5 month but apparently noone ever runs this test. Signed-off-by: Petr Baudis <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/user-manual.txt')
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
index e999211..08d1310 100644
--- a/Documentation/user-manual.txt
+++ b/Documentation/user-manual.txt
@@ -1890,7 +1890,7 @@ adjustments to give web clients some extra information they need:
$ mv proj.git /home/you/public_html/proj.git
$ cd proj.git
$ git --bare update-server-info
-$ chmod a+x hooks/post-update
+$ mv hooks/post-update.sample hooks/post-update
(For an explanation of the last two lines, see