protected function hasGitBranch($branch_name)
    {
        $task = $this->getGitBuildStack()
            ->exec("rev-parse -q --verify {$branch_name}");

        $result = $this->runSilentCommand($task);

        return !empty($result->getMessage());
    }
protected function hasGitBranch($branch_name)
    {
        $task = $this->getGitBuildStack()
            ->exec("rev-parse -q --verify {$branch_name}");

        $result = $this->runSilentCommand($task);

        return !empty($result->getMessage());
    }
protected function hasGitBranch ( $ branch_name ) { $ task = $ this -> getGitBuildStack ( ) -> exec ( "rev-parse -q --verify {$branch_name}" ) ; $ result = $ this -> runSilentCommand ( $ task ) ; return ! empty ( $ result -> getMessage ( ) ) ; }
Has git branch.

@param $branch_name

@return bool
Has git branch .