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:
@@ -16,7 +16,7 @@ To install Arcanist as a pre-commit hook, add this to your svn/hooks/pre-commit:
|
||||
|
||||
#!/bin/sh
|
||||
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
|
||||
with an unhelpful error message. You also need to specify the full path to PHP
|
||||
|
||||
Reference in New Issue
Block a user