From 32a7282cc1bebb6e721c090c9af3570af8ab6361 Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 4 Apr 2013 11:34:53 -0700 Subject: [PATCH] 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 --- src/docs/userguide/arcanist_hooks.diviner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/userguide/arcanist_hooks.diviner b/src/docs/userguide/arcanist_hooks.diviner index 1b0a3457eb..0b5b702616 100644 --- a/src/docs/userguide/arcanist_hooks.diviner +++ b/src/docs/userguide/arcanist_hooks.diviner @@ -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