diff --git a/src/GitList/Git/Repository.php b/src/GitList/Git/Repository.php index d04f987..58338fb 100644 --- a/src/GitList/Git/Repository.php +++ b/src/GitList/Git/Repository.php @@ -45,8 +45,8 @@ class Repository extends BaseRepository $logs = $this->getClient()->run($this, "show --pretty=format:\"%H" . "%h%T%P" - . "%an%ae" - . "%at%cn%ce" + . "%aN%aE" + . "%at%cN%cE" . "%ct" . "" . "" @@ -213,9 +213,9 @@ class Repository extends BaseRepository $command = "log $pager --pretty=format:\"%H" . "%h%T%P" - . "%an%ae" - . "%at%cn" - . "%ce" + . "%aN%aE" + . "%at%cN" + . "%cE" . "%ct" . "\""; @@ -245,9 +245,9 @@ class Repository extends BaseRepository $command = "log --grep={$query} -i --pretty=format:\"%H" . "%h%T%P" - . "%an%ae" - . "%at%cn" - . "%ce" + . "%aN%aE" + . "%at%cN" + . "%cE" . "%ct" . "\"" . " $branch"; @@ -299,7 +299,7 @@ class Repository extends BaseRepository public function getAuthorStatistics($branch) { - $logs = $this->getClient()->run($this, 'log --pretty=format:"%an||%ae" ' . $branch); + $logs = $this->getClient()->run($this, 'log --pretty=format:"%aN||%aE" ' . $branch); if (empty($logs)) { throw new \RuntimeException('No statistics available');