Esempio n. 1
0
 /**
  * Run a command specific to this type of repo
  *
  * @see execute for params
  * @return mixed
  */
 function run($command, $args = array(), $return = false)
 {
     extract($this->config);
     $gitDir = null;
     if (empty($this->_before) && empty($this->gitDir)) {
         $gitDir = "--git-dir={$this->path} ";
     }
     return parent::run("{$gitDir}{$command}", $args, $return);
 }