You are here

protected function Provision_PlatformGit::referenceIsABranch in Aegir Deploy 7.3

2 calls to Provision_PlatformGit::referenceIsABranch()
Provision_PlatformGit::buildGitCloneCommand in modules/platform_git/drush/Provision/PlatformGit.php
Provision_PlatformGit::referenceIsACommit in modules/platform_git/drush/Provision/PlatformGit.php

File

modules/platform_git/drush/Provision/PlatformGit.php, line 78
The Provision_PlatformGit class.

Class

Provision_PlatformGit
@file The Provision_PlatformGit class.

Code

protected function referenceIsABranch() {
  return $this->reference && in_array($this->reference, $this
    ->lsRemote('heads'));
}