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
This commit is contained in:
David Pursehouse 2012-08-16 10:19:14 +09:00 committed by Gustaf Lundh
parent 1bd96783b3
commit 056ed18d0e

View File

@ -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
--------