X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=MTrack%2FSCM%2FGit%2FRepo.php;h=402e45ad08a13cd79bc2a297a89b512b41a4e67e;hb=3284c5a224ba044c7fbdebd23ae8db2c1314200d;hp=3c777e95dc9edfc68b18607a67572d4e9049cf5c;hpb=a6612b0bdeea73c6290dd5f79b33dd646d8a5da1;p=web.mtrack diff --git a/MTrack/SCM/Git/Repo.php b/MTrack/SCM/Git/Repo.php index 3c777e95..402e45ad 100644 --- a/MTrack/SCM/Git/Repo.php +++ b/MTrack/SCM/Git/Repo.php @@ -271,6 +271,7 @@ HOOK; $args[] = "--no-abbrev"; $args[] = "--numstat"; $args[] = "--date=rfc"; + $args[] = "--source"; // show the branch.. //echo '
';print_r($args);echo '
'; @@ -285,7 +286,7 @@ HOOK; $commit = null; while (true) { $line = fgets($fp); - if ($line === false) { + if ($line === false) { //end of file.. if ($commit !== null) { $commits[] = $commit; }