stats fixed, using getHead now

This commit is contained in:
Peter Droogmans
2012-07-14 09:10:56 +02:00
parent 48a267d508
commit 39d4a24b45

View File

@@ -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');