Lines Matching refs:reference
101 …public static function &clone_remote($repo_path, $remote, $reference = null, \action_plugin_gitbac… argument
102 return GitRepo::create_new($repo_path, $plugin, $remote, true, $reference);
157 …n_gitbacked_editcommit $plugin = null, $source = null, $remote_source = false, $reference = null) { argument
159 …throw new Exception(self::handle_create_new_error($repo_path, $reference, '"'.$repo_path.'" is alr…
164 if (!is_dir($reference) || !is_dir($reference.'/.git')) {
165 …throw new Exception(self::handle_create_new_error($repo_path, $reference, '"'.$reference.'" is not…
166 } else if (strlen($reference)) {
167 $reference = realpath($reference);
168 $reference = "--reference $reference";
170 $repo->clone_remote($source, $reference);
369 …protected static function handle_create_new_error($repo_path, $reference, $error_message, $plugin)… argument
371 $plugin->notify_create_new_error($repo_path, $reference, $error_message);
534 public function clone_remote($source, $reference) { argument
535 return $this->run("clone $reference $source ".$this->repo_path);