summaryrefslogtreecommitdiffstats
path: root/githooks.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-03-28 08:55:34 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-03-28 08:55:34 +0000
commit36a567279a3e94474750eacd210f308ef21d446e (patch)
treeb26a9c8bab6824ff98c99dca17eafb3cc022ad28 /githooks.html
parent1de7572eb1aa483cc2aaca1db274928ffc6830f0 (diff)
downloadgit-htmldocs-36a567279a3e94474750eacd210f308ef21d446e.tar.gz
Autogenerated HTML docs for v1.6.2.1-404-gb008
Diffstat (limited to 'githooks.html')
-rw-r--r--githooks.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/githooks.html b/githooks.html
index 18bce3922..efb74509c 100644
--- a/githooks.html
+++ b/githooks.html
@@ -441,6 +441,9 @@ the ref of the new HEAD (which may or may not have changed), and a flag
indicating whether the checkout was a branch checkout (changing branches,
flag=1) or a file checkout (retrieving a file from the index, flag=0).
This hook cannot affect the outcome of <em>git-checkout</em>.</p></div>
+<div class="para"><p>It is also run after <em>git-clone</em>, unless the --no-checkout (-n) option is
+used. The first parameter given to the hook is the null-ref, the second the
+ref of the new HEAD and the flag is always 1.</p></div>
<div class="para"><p>This hook can be used to perform repository validity checks, auto-display
differences from the previous HEAD if different, or set working dir metadata
properties.</p></div>
@@ -589,7 +592,7 @@ to abort.</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2009-02-14 08:18:44 UTC
+Last updated 2009-03-28 08:55:22 UTC
</div>
</div>
</body>