mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-25 15:00:57 +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:
parent
6bca7f0146
commit
7eb86b2371
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,10 @@ EOTEXT
|
|||
return false;
|
||||
}
|
||||
|
||||
public function getSupportedRevisionControlSystems() {
|
||||
return array('git');
|
||||
}
|
||||
|
||||
public function run() {
|
||||
$working_copy = $this->getWorkingCopy();
|
||||
if (!$working_copy->getProjectID()) {
|
||||
|
|
Loading…
Reference in a new issue