Home
last modified time | relevance | path

Searched refs:active_branch (Results 1 – 3 of 3) sorted by relevance

/plugin/git/lib/
H A DGit.php530 public function active_branch($keep_asterisk = false) { function in GitRepo
532 $active_branch = preg_grep("/^\*/", $branchArray);
533 reset($active_branch);
535 return current($active_branch);
537 return str_replace("* ", "", current($active_branch));
/plugin/gitbacked/lib/
H A DGit.php625 public function active_branch($keep_asterisk = false) { function in GitRepo
627 $active_branch = preg_grep("/^\*/", $branchArray);
628 reset($active_branch);
630 return current($active_branch);
632 return str_replace("* ", "", current($active_branch));
/plugin/gitbacked/action/
H A Deditcommit.php84 $repo->push('origin',$repo->active_branch());
122 $repo->pull('origin',$repo->active_branch());