This is trivial, but how the Git pre-commit hook is distributed has
changed, and README-hacking needs to be updated.

Dale


>From e45baabec78f1745a92cf9fc50d6a4ce450b793c Mon Sep 17 00:00:00 2001
From: "Dale R. Worley" <wor...@ariadne.com>
Date: Tue, 16 Sep 2014 12:21:30 -0400
Subject: [PATCH] Correct how to activate .git/hooks/pre-commit.sample

* README-hacking (Making commits locally): Update the command that activates
pre-commit.sample because it is now being distributed differently.
---
 README-hacking | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README-hacking b/README-hacking
index 71193cf..da43401 100644
--- a/README-hacking
+++ b/README-hacking
@@ -163,7 +163,7 @@ changes you just pulled:
 There are some useful checks that git commit hooks will do for you,
 it's a good idea to enable these:
 
-  chmod +x .git/hooks/pre-commit
+  mv .git/hooks/pre-commit.sample .git/hooks/pre-commit
 
 
 Submitting patches
-- 
1.8.3.1


Reply via email to