Skip to content

Commit 47458bb

Browse files
chriscoolgitster
authored andcommitted
Documentation: hooks: fix missing verb in pre-applypatch description
Signed-off-by: Christian Couder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9b58bfe commit 47458bb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Documentation/hooks.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ The default 'applypatch-msg' hook, when enabled, runs the
2828
pre-applypatch
2929
--------------
3030

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.
3536

3637
It can be used to inspect the current working tree and refuse to
3738
make a commit if it does not pass certain test.

0 commit comments

Comments
 (0)