threads / patch / 13343

v2Documentation: hooks: fix missing verb in pre-applypatch description

Subject: [PATCH v2] Documentation: hooks: fix missing verb in pre-applypatch description

## tl;dr

One message between May 1, 2008 and May 1, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Christian Couder· May 1, 2008, 11:02 UTC · lore
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 Documentation/githooks.txt |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
Show changes to Documentation/githooks.txt +5 −4
diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt
index 62ee065..67c0809 100644
--- a/Documentation/githooks.txt
+++ b/Documentation/githooks.txt
@@ -40,10 +40,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.
-- 
1.5.5.1.100.gc23d

← back to recent threads