git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Christian Couder <chriscool@tuxfamily.org>
Date
May 1, 2008, 08:17 UTC
Message-ID
<20080501101759.0f40268e.chriscool@tuxfamily.org>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 Documentation/githooks.txt |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
	Manoj Srivastava a écrit :
	>         I am afraid I can't parse the final sentence: I assume it means
	>  that the patched working tree is not committed, but the missing verb
	>  makes it harder for non-native speakers of the english language to
	>  understand what is meant here.
	Perhaps something like this patch would fix it.
diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt
index 62ee065..0ede1ac 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 application of 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
Next: Thomas Adam
Message 1 of 2 in “Documentation: hooks: fix missing verb in pre-applypatch description”
  1. Documentation: hooks: fix missing verb in pre-applypatch descriptionChristian Couder, May 1, 2008
  2. Thomas AdamMay 1, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.