summaryrefslogtreecommitdiffstats
path: root/gitcore-tutorial.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-08-12 06:59:38 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-08-12 06:59:38 +0000
commitc96fb5a7d7921dab126671259bd1665dff1a7b50 (patch)
tree84b1c919083e01066c0a404148f1c6a735adcceb /gitcore-tutorial.html
parent1d36888341421a7ba59def87f39c3f7d25989e37 (diff)
downloadgit-htmldocs-c96fb5a7d7921dab126671259bd1665dff1a7b50.tar.gz
Autogenerated HTML docs for v1.6.0-rc2-35-g04c6e
Diffstat (limited to 'gitcore-tutorial.html')
-rw-r--r--gitcore-tutorial.html17
1 files changed, 9 insertions, 8 deletions
diff --git a/gitcore-tutorial.html b/gitcore-tutorial.html
index 36c0fcea7..886b7d396 100644
--- a/gitcore-tutorial.html
+++ b/gitcore-tutorial.html
@@ -1662,8 +1662,9 @@ your login shell is <em>bash</em>, only <tt>.bashrc</tt> is read and not
<div class="title">Note</div>
</td>
<td class="content">If you plan to publish this repository to be accessed over http,
-you should do <tt>chmod +x my-git.git/hooks/post-update</tt> at this
-point. This makes sure that every time you push into this
+you should do <tt>mv my-git.git/hooks/post-update.sample
+my-git.git/hooks/post-update</tt> at this point.
+This makes sure that every time you push into this
repository, <tt>git update-server-info</tt> is run.</td>
</tr></table>
</div>
@@ -1783,11 +1784,11 @@ Prepare a public repository accessible to others.
<div class="para"><p>If other people are pulling from your repository over dumb
transport protocols (HTTP), you need to keep this repository
<em>dumb transport friendly</em>. After <tt>git init</tt>,
-<tt>$GIT_DIR/hooks/post-update</tt> copied from the standard templates
-would contain a call to <em>git-update-server-info</em> but the
-<tt>post-update</tt> hook itself is disabled by default &#8212; enable it
-with <tt>chmod +x post-update</tt>. This makes sure <em>git-update-server-info</em>
-keeps the necessary files up-to-date.</p></div>
+<tt>$GIT_DIR/hooks/post-update.sample</tt> copied from the standard templates
+would contain a call to <em>git-update-server-info</em>
+but you need to manually enable the hook with
+<tt>mv post-update.sample post-update</tt>. This makes sure
+<em>git-update-server-info</em> keeps the necessary files up-to-date.</p></div>
</li>
<li>
<p>
@@ -2037,7 +2038,7 @@ to follow, not easier.</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2008-07-09 19:53:06 UTC
+Last updated 2008-08-12 06:59:10 UTC
</div>
</div>
</body>