1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-28 12:08:14 +01:00

Correct Arcanist repository hooks documentation

Summary: Long ago this was a symlink, but now it's a shell script because symlinks and Windows don't really work. Fixes T2884.

Test Plan: Inspection.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2884

Differential Revision: https://secure.phabricator.com/D5575
This commit is contained in:
epriestley 2013-04-04 11:34:53 -07:00
parent 0d17e58844
commit 32a7282cc1

View file

@ -16,7 +16,7 @@ To install Arcanist as a pre-commit hook, add this to your svn/hooks/pre-commit:
#!/bin/sh #!/bin/sh
set -e # Exit with an error code if this fails. set -e # Exit with an error code if this fails.
/usr/local/bin/php -f /path/to/arcanist/bin/arc svn-hook-pre-commit $@ 1>&2 /path/to/arcanist/bin/arc svn-hook-pre-commit $@ 1>&2
Make sure you make this file executable, or you'll get an error for every commit Make sure you make this file executable, or you'll get an error for every commit
with an unhelpful error message. You also need to specify the full path to PHP with an unhelpful error message. You also need to specify the full path to PHP