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...