/** * Retrieve the author list from the given path via calling git. * * @param string $path The path to check. * * @param GitRepository $git The repository to extract all files from. * * @return string[] */ private function getAuthorListFrom($path, $git) { return $git->log()->format('%aN <%ae>')->follow()->execute($path); }