summaryrefslogtreecommitdiff
path: root/Documentation/git-init-db.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-08-27 14:45:11 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-08-27 14:45:11 -0700
commit3100fd55888ce742056cc998343c5fc9f89b2c55 (patch)
treec6ea389897a46caf5cae54536bf7dcffd116b62b /Documentation/git-init-db.txt
parentGit 2.28 (diff)
downloadtgif-3100fd55888ce742056cc998343c5fc9f89b2c55.tar.xz
doc: clarify how exit status of post-checkout hook is used
Because the hook runs after the main checkout operation finishes, it cannot affect what branch will be the current branch, what paths are updated in the working tree, etc., which was described as "cannot affect the outcome of 'checkout'". However, the exit status of the hook is used as the exit status of the 'checkout' command and is observable by anybody who spawned the 'checkout', which was missing from the documentation. Fix this. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-init-db.txt')
0 files changed, 0 insertions, 0 deletions