diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2008-05-02 05:30:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-03 13:58:59 -0700 |
commit | 47458bb9d19236175ea679ab070dfc6ae653ec97 (patch) | |
tree | 6f2690d5a4a49cd72f109f21611c691135ec74a9 | |
parent | 9b58bfe8f4ea130a4518f6fbe9927fef78093f1b (diff) | |
download | git-47458bb9d19236175ea679ab070dfc6ae653ec97.tar.gz git-47458bb9d19236175ea679ab070dfc6ae653ec97.tar.xz |
Documentation: hooks: fix missing verb in pre-applypatch description
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | Documentation/hooks.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/hooks.txt b/Documentation/hooks.txt index 44fbe58f2..1283ab4da 100644 --- a/Documentation/hooks.txt +++ b/Documentation/hooks.txt @@ -28,10 +28,11 @@ The default 'applypatch-msg' hook, when enabled, runs the pre-applypatch -------------- -This hook is invoked by `git-am`. It takes no parameter, -and is invoked after the patch is applied, but before a commit -is made. Exiting with non-zero status causes the working tree -after application of the patch not committed. +This hook is invoked by `git-am`. It takes no parameter, and is +invoked after the patch is applied, but before a commit is made. + +If it exits with non-zero status, then the working tree will not be +committed after applying the patch. It can be used to inspect the current working tree and refuse to make a commit if it does not pass certain test. |