summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2012-08-16 10:19:14 +0900
committerGustaf Lundh <gustaf.lundh@sonymobile.com>2012-08-17 09:46:38 +0200
commit056ed18d0e056938f536bd6b52b928067778d270 (patch)
tree0d1a7a327c7945d079bf07f74d8d671fb1f7042b
parent1bd96783b364d9234c915c99425b305178e06286 (diff)
Documentation: commit message hook file should be executable
After downloading the commit message hook, it may be necessary to set the executable flag. Add a note about this in the documentation. Change-Id: Id3a19ae23fe534091ff434a65a20d101baa192a4
-rw-r--r--Documentation/cmd-hook-commit-msg.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/cmd-hook-commit-msg.txt b/Documentation/cmd-hook-commit-msg.txt
index 39cb3a5acb..bd602c11cf 100644
--- a/Documentation/cmd-hook-commit-msg.txt
+++ b/Documentation/cmd-hook-commit-msg.txt
@@ -73,6 +73,12 @@ A specific example of this might look something like this:
$ curl -o ~/duhproject/.git/hooks/commit-msg http://review.example.com/tools/hooks/commit-msg
====
+Make sure the hook file is executable:
+
+====
+ $ chmod u+x ~/duhproject/.git/hooks/commit-msg
+====
+
SEE ALSO
--------