1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-28 17:52:42 +01:00

Mark git-hook-pre-receive as git only

Summary: It doesn't make any sense to run this command on another VCS.

Test Plan: N/A

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11624
This commit is contained in:
Joshua Spence 2015-02-04 06:53:47 +11:00
parent 6bca7f0146
commit 7eb86b2371

View file

@ -41,6 +41,10 @@ EOTEXT
return false; return false;
} }
public function getSupportedRevisionControlSystems() {
return array('git');
}
public function run() { public function run() {
$working_copy = $this->getWorkingCopy(); $working_copy = $this->getWorkingCopy();
if (!$working_copy->getProjectID()) { if (!$working_copy->getProjectID()) {