var $log = array();
var $commits = array();
var $fileActions = array(); // file=> delete / modify etc..
-
+ var $props = array(); // date etc..
/**
* fills up repo, files, log, commits by running log on the STDIN
list($old, $new, $ref) = explode(' ', trim($line), 3);
$this->commits[] = $new;
+ if (preg_match('/^0+$/',$old)) {
+ continue; // it's a new branch - ignore..
+ }
+
$fp = $this->repo->git(
'log', '--no-color', '--name-status',
'--date=rfc', "$old..$new"); //$ref, used to be in here?? - but it breaks stuff...
} while (($line = fgets($fp)) !== false);
}
- print_r($this);exit;
+ //print_r($this);exit;
}