diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-12-27 11:58:35 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-27 11:58:35 -0800 |
commit | 0f1291dcb49cd80bdb333eecb5f978a6a5ac3818 (patch) | |
tree | c8082d36556025d6bcea28f0b0afd313c809c34b /githooks.txt | |
parent | 047135e65db3686c7b168ba029e8545071e5226f (diff) | |
download | git-htmldocs-0f1291dcb49cd80bdb333eecb5f978a6a5ac3818.tar.gz |
Autogenerated HTML docs for v2.15.1-501-g29533f
Diffstat (limited to 'githooks.txt')
-rw-r--r-- | githooks.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/githooks.txt b/githooks.txt index b63f2ea86..f877f7b7c 100644 --- a/githooks.txt +++ b/githooks.txt @@ -170,7 +170,8 @@ This hook cannot affect the outcome of 'git checkout'. It is also run after 'git clone', 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. +ref of the new HEAD and the flag is always 1. Likewise for 'git worktree add' +unless --no-checkout is used. This hook can be used to perform repository validity checks, auto-display differences from the previous HEAD if different, or set working dir metadata |