|
From: | Aaron Bentley |
Subject: | Re: [Gnu-arch-users] Re: Precommit hooks? |
Date: | Sat, 03 Apr 2004 13:56:51 -0500 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 |
Aaron Bentley wrote:
Stig Brautaset wrote:On Apr 03 2004, Tom wrote:> From: Robin Green <address@hidden> > If I added the facility to have pre-commit hooks to run tests > prior to a commit, Tom, would you merge it? I'm confused. There already _is_ a precommit hook and if it exits with non-0 status then the commit is aborted.It is not documented here: http://regexps.srparish.net/tutorial-tla/using-hooks.html
All hooks are pre- . The "commit" hook is documented.
Urk. I'm wrong. There are two commit hooks ("precommit" and "commit"). I was confused by the documentation on "Robustness issues with hook",
I should learn to keep my trap shut when I don't know. Aaron
[Prev in Thread] | Current Thread | [Next in Thread] |