$args[] = "--no-abbrev";
$args[] = "--numstat";
$args[] = "--date=rfc";
+ $args[] = "--source"; // show the branch..
//echo '<PRE>';print_r($args);echo '</PRE>';
$commit = null;
while (true) {
$line = fgets($fp);
- if ($line === false) {
+ if ($line === false) { //end of file..
if ($commit !== null) {
$commits[] = $commit;
}
var_dump('git ' . join (' ' , $a));
// die("oops");
}
- echo "git " . implode(" " , $a) . "\n";
+ //echo "git " . implode(" " , $a) . "\n";
return MTrackSCM::run('git', 'read', $a);
}