public function getCommitsSince(string $revision) : array
    {
        $cmd = (new Commits($this->repo->getRoot()))->byRevision($revision)
                                                    ->prettyFormat(Commits\Jsonized::FORMAT);

        $result = $this->runner->run($cmd, new Commits\Jsonized());
        return $result->getFormattedOutput();
    }
public function getCommitsSince(string $revision) : array
    {
        $cmd = (new Commits($this->repo->getRoot()))->byRevision($revision)
                                                    ->prettyFormat(Commits\Jsonized::FORMAT);

        $result = $this->runner->run($cmd, new Commits\Jsonized());
        return $result->getFormattedOutput();
    }
public function getCommitsSince ( string $ revision ) : array { $ cmd = ( new Commits ( $ this -> repo -> getRoot ( ) ) ) -> byRevision ( $ revision ) -> prettyFormat ( Commits \ Jsonized :: FORMAT ) ; $ result = $ this -> runner -> run ( $ cmd , new Commits \ Jsonized ( ) ) ; return $ result -> getFormattedOutput ( ) ; }
Get list of commits since given revision.

@param  string $revision
@return array
Get list of commits since given revision .