Pluf::f('git_path', 'git'));␊ |
self::exec('IDF_Scm_Git::getTags', $cmd, $out, $return);␊ |
if (0 != $return) {␊ |
$this->cache['tags'] = array();␊ |
return array();␊ |
// Ugly emergency fix, needs to be cleaned.␊ |
throw new IDF_Scm_Exception(sprintf($this->error_tpl,␊ |
$cmd, $return,␊ |
implode("\n", $out)));␊ |
|
escapeshellarg($commit));␊ |
self::exec('IDF_Scm_Git::inTags', $cmd, $out, $return);␊ |
if (0 != $return) {␊ |
$this->cache['tags'] = array();␊ |
return array();␊ |
// Ugly emergency fix, needs to be cleaned.␊ |
throw new IDF_Scm_Exception(sprintf($this->error_tpl,␊ |
$cmd, $return,␊ |
implode("\n", $out)));␊ |