public function getCommits()
    {
        $log = $this->execute(
            "git log --no-merges --format='changeset: %H%nuser: %aN <%aE>%ndate: %ad%nsummary: %s%n' "
            . $this->repository_path
        );
        $this->repository_type = 'git';

        return $this->parseLog($log);
    }
public function getCommits()
    {
        $log = $this->execute(
            "git log --no-merges --format='changeset: %H%nuser: %aN <%aE>%ndate: %ad%nsummary: %s%n' "
            . $this->repository_path
        );
        $this->repository_type = 'git';

        return $this->parseLog($log);
    }
public function getCommits ( ) { $ log = $ this -> execute ( "git log --no-merges --format='changeset: %H%nuser: %aN <%aE>%ndate: %ad%nsummary: %s%n' " . $ this -> repository_path ) ; $ this -> repository_type = 'git' ; return $ this -> parseLog ( $ log ) ; }
Get the list of Git commits for the repository as a structured array

@return array List of commits
Get the list of Git commits for the repository as a structured array