public function showCommit($ref)
    {
        $this->clearAll();

        $this->addCommandName(self::GIT_SHOW);
        $this->addCommandArgument('-s');
        $this->addCommandArgument('--pretty=raw');
        $this->addCommandArgument('--no-color');
        $this->addCommandSubject($ref);

        return $this->getCommand();
    }
public function showCommit($ref)
    {
        $this->clearAll();

        $this->addCommandName(self::GIT_SHOW);
        $this->addCommandArgument('-s');
        $this->addCommandArgument('--pretty=raw');
        $this->addCommandArgument('--no-color');
        $this->addCommandSubject($ref);

        return $this->getCommand();
    }
public function showCommit ( $ ref ) { $ this -> clearAll ( ) ; $ this -> addCommandName ( self :: GIT_SHOW ) ; $ this -> addCommandArgument ( '-s' ) ; $ this -> addCommandArgument ( '--pretty=raw' ) ; $ this -> addCommandArgument ( '--no-color' ) ; $ this -> addCommandSubject ( $ ref ) ; return $ this -> getCommand ( ) ; }
build the show command

@param string|\GitElephant\Objects\Commit $ref the reference for the show command

@throws \RuntimeException
@return string
build the show command