mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-18 03:30:55 +01:00
stats fixed, using getHead now
This commit is contained in:
@@ -388,7 +388,7 @@ class Repository
|
|||||||
|
|
||||||
public function getAuthorStatistics()
|
public function getAuthorStatistics()
|
||||||
{
|
{
|
||||||
$logs = $this->getClient()->run($this, 'log --pretty=format:\'%an||%ae\'');
|
$logs = $this->getClient()->run($this, 'log --pretty=format:\'%an||%ae\' ' . $this->getHead());
|
||||||
|
|
||||||
if (empty($logs)) {
|
if (empty($logs)) {
|
||||||
throw new \RuntimeException('No statistics available');
|
throw new \RuntimeException('No statistics available');
|
||||||
|
|||||||
Reference in New Issue
Block a user