Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2008-05-02 07:30:41 +0400
committerJunio C Hamano <gitster@pobox.com>2008-05-04 00:58:59 +0400
commit47458bb9d19236175ea679ab070dfc6ae653ec97 (patch)
tree6f2690d5a4a49cd72f109f21611c691135ec74a9 /Documentation/hooks.txt
parent9b58bfe8f4ea130a4518f6fbe9927fef78093f1b (diff)
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>
Diffstat (limited to 'Documentation/hooks.txt')
-rw-r--r--Documentation/hooks.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/hooks.txt b/Documentation/hooks.txt
index 44fbe58f20..1283ab4daa 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.