コード例 #1
0
ファイル: Git.php プロジェクト: martinsv/bart
 /**
  * @param string $dir The git directory of interest
  * @param string $origin Upstream origin name
  * @maintenance Migrate over to GitCommit and Bart\Git namespace
  */
 public function __construct($dir = '.git', $origin = 'origin')
 {
     $this->dir = $dir;
     $this->git = "git --git-dir={$dir}";
     $this->origin = $origin;
     $this->shell = Diesel::singleton('Bart\\Shell');
 }