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>
Christian Couder committed
May 2, 2008 at 05:30 UTC
47458bb9d19236175ea679ab070dfc6ae653ec97
1 file changed
+5
-4
Documentation/hooks.txt
+5
-4
@@ -28,10 +28,11 @@ The default 'applypatch-msg' hook, when enabled, runs the
28
pre-applypatch
29
--------------
30
31
-This hook is invoked by `git-am`. It takes no parameter,
32
-and is invoked after the patch is applied, but before a commit
33
-is made. Exiting with non-zero status causes the working tree
34
-after application of the patch not committed.
31
+This hook is invoked by `git-am`. It takes no parameter, and is
32
+invoked after the patch is applied, but before a commit is made.
33
+
34
+If it exits with non-zero status, then the working tree will not be
35
+committed after applying the patch.
36
37
It can be used to inspect the current working tree and refuse to
38
make a commit if it does not pass certain test.