summaryrefslogtreecommitdiffstats
path: root/githooks.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-12-27 11:58:35 -0800
committerJunio C Hamano <gitster@pobox.com>2017-12-27 11:58:35 -0800
commit0f1291dcb49cd80bdb333eecb5f978a6a5ac3818 (patch)
treec8082d36556025d6bcea28f0b0afd313c809c34b /githooks.html
parent047135e65db3686c7b168ba029e8545071e5226f (diff)
downloadgit-htmldocs-0f1291dcb49cd80bdb333eecb5f978a6a5ac3818.tar.gz
Autogenerated HTML docs for v2.15.1-501-g29533f
Diffstat (limited to 'githooks.html')
-rw-r--r--githooks.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/githooks.html b/githooks.html
index 520c4e940..bb5c14f74 100644
--- a/githooks.html
+++ b/githooks.html
@@ -881,7 +881,8 @@ 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="paragraph"><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>
+ref of the new HEAD and the flag is always 1. Likewise for <em>git worktree add</em>
+unless --no-checkout is used.</p></div>
<div class="paragraph"><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>
@@ -1176,7 +1177,7 @@ all files and folders.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2017-12-13 14:26:19 PST
+Last updated 2017-12-27 11:58:06 PST
</div>
</div>
</body>