public function showCommit($hash)
    {
        /** @var $result CallResult */
        $result = $this->getGit()->{'show'}($this->getRepositoryPath(), array(
            '--format' => 'fuller',
            $hash
        ));
        $result->assertSuccess(sprintf('Cannot retrieve commit "%s" from "%s"',
            $hash, $this->getRepositoryPath()
        ));

        return $result->getStdOut();
    }
public function showCommit($hash)
    {
        /** @var $result CallResult */
        $result = $this->getGit()->{'show'}($this->getRepositoryPath(), array(
            '--format' => 'fuller',
            $hash
        ));
        $result->assertSuccess(sprintf('Cannot retrieve commit "%s" from "%s"',
            $hash, $this->getRepositoryPath()
        ));

        return $result->getStdOut();
    }
public function showCommit ( $ hash ) { /** @var $result CallResult */ $ result = $ this -> getGit ( ) -> { 'show' } ( $ this -> getRepositoryPath ( ) , array ( '--format' => 'fuller' , $ hash ) ) ; $ result -> assertSuccess ( sprintf ( 'Cannot retrieve commit "%s" from "%s"' , $ hash , $ this -> getRepositoryPath ( ) ) ) ; return $ result -> getStdOut ( ) ; }
Returns a string containing information about the given commit

@param  string  $hash       The commit ref
@return  string
Returns a string containing information about the given commit