$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;
}