public $gitdir = null;
public $debug = false;
+
+ var $project_id;
public function getSCMMetaData() {
return array(
} else {
$args[] = "master";
}
-
-
+
if ($limit !== null) {
if (is_int($limit)) {
$args[] = "--max-count=$limit";
$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);
}