From: Christian Couder Date: Fri, 2 May 2008 03:30:41 +0000 (+0200) Subject: Documentation: hooks: fix missing verb in pre-applypatch description X-Git-Tag: v1.5.6-rc0~103 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=47458bb9d19236175ea679ab070dfc6ae653ec97;p=git.git Documentation: hooks: fix missing verb in pre-applypatch description Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano --- 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.