private function checkout_git(Dog_Repo $repo) { $calldata = array($repo->getGDOData()); $callback = array($this, 'after_checkout'); $callargs = array($repo->getID()); $includes = array($this->getPath() . 'workers/Dog_CVS_Git_Worker.php'); if (!Dog::getWorker()->async_method('Dog_CVS_Git_Worker', 'checkout', $calldata, $callback, $callargs, $includes)) { $this->rply('err_worker'); } else { $this->rply('msg_checking_out', array($repo->getType(), $repo->getURL(), $repo->getName())); } }