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

Re: [PATCH] Documentation: rename "hooks.txt" to "githooks.txt" and make it a man page

From
MSManoj Srivastava <srivasta@ieee.org>
Date
Apr 30, 2008, 16:28 UTC
Message-ID
<87ej8ngvdc.fsf@anzu.internal.golden-gryphon.com>
In-Reply-To
<20080430080820.ef5a4c2a.chriscool@tuxfamily.org>
Hi,
        The documentation patch says:
--- /dev/null
+++ b/Documentation/githooks.txt
@@ -0,0 +1,301 @@
 [snip]
+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.

        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.

        manoj
-- 
Backed up the system lately?
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C
Previous: Jakub Narebski
Message 3 of 3 in “Documentation: rename "hooks.txt" to "githooks.txt" and make it a man page”
  1. Documentation: rename "hooks.txt" to "githooks.txt" and make it a man pageChristian Couder, Apr 30, 2008
  2. Jakub NarebskiApr 30, 2008
  3. Manoj SrivastavaApr 30, 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.