diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2009-03-28 08:55:34 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2009-03-28 08:55:34 +0000 |
commit | 36a567279a3e94474750eacd210f308ef21d446e (patch) | |
tree | b26a9c8bab6824ff98c99dca17eafb3cc022ad28 /githooks.html | |
parent | 1de7572eb1aa483cc2aaca1db274928ffc6830f0 (diff) | |
download | git-htmldocs-36a567279a3e94474750eacd210f308ef21d446e.tar.gz |
Autogenerated HTML docs for v1.6.2.1-404-gb008
Diffstat (limited to 'githooks.html')
-rw-r--r-- | githooks.html | 5 |
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>
|