[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Small fix to README-hacking

From: Dale R. Worley
Subject: Small fix to README-hacking
Date: Tue, 16 Sep 2014 12:25:24 -0400

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


>From e45baabec78f1745a92cf9fc50d6a4ce450b793c Mon Sep 17 00:00:00 2001
From: "Dale R. Worley" <address@hidden>
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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]