diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-08-27 14:45:11 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-27 14:45:11 -0700 |
commit | 3100fd55888ce742056cc998343c5fc9f89b2c55 (patch) | |
tree | c6ea389897a46caf5cae54536bf7dcffd116b62b /Documentation/git-upload-archive.txt | |
parent | Git 2.28 (diff) | |
download | tgif-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-upload-archive.txt')
0 files changed, 0 insertions, 0 deletions