chg: [statistics shell] added total commit count

pull/6055/head
iglocska 2020-06-23 21:08:59 +02:00
parent 28048871b7
commit a2c4b5ae38
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class StatisticsShell extends AppShell {
foreach ($repos as $repo) {
$results = $this->extract($results, $repo, $from, $to);
}
echo PHP_EOL . PHP_EOL . count($results) . ' unique contributors.' . PHP_EOL . PHP_EOL;
echo PHP_EOL . PHP_EOL . array_sum($results) . ' commits from ' . count($results) . ' unique contributors.' . PHP_EOL . PHP_EOL;
arsort($results);
foreach ($results as $email => $count) {
echo $email . ': ' . $count . PHP_EOL;