Lines Matching refs:repo
107 function resetGitStatusCache($repo) argument
117 … $sql = "INSERT OR REPLACE INTO git (repo, timestamp, status ) VALUES ('".$repo."', 0, 'clean');";
174 $repo = new GitRepo($destination, true, false);
175 $repo->git_path = $git_exe_path;
176 $repo->clone_from($origin);
244 function render_changed_files_table($renderer, $commits, $repo) argument
261 $files = explode("\n", $repo->get_status());
265 $files = explode("\n", $repo->get_files_by_commit('origin/master..HEAD'));
269 $files = explode("\n", $repo->get_files_by_commit($hash));
340 function renderChangesMade(&$renderer, &$repo, $mode) argument
361 if ($hash === 'all') $l_text = $repo->getFile($fileForDiff, 'origin/master');
362 else $l_text = $repo->getFile($fileForDiff, $hash."~1");
365 if ($hash === 'all') $r_text = $repo->getFile($fileForDiff, 'HEAD');
366 else $r_text = $repo->getFile($fileForDiff, $hash);
373 $l_text = $repo->getFile($fileForDiff, 'HEAD');
390 $r_text = $repo->getFile($fileForDiff, $hash);
533 $repo = new GitRepo($datapath);
534 $repo->git_path = $git_exe_path;
536 if ($repo->test_origin() === false) {
541 $repo->fetch();
542 $log = $repo->get_log();