public function prepare($name = null, $queryRemotes = true)
    {
        $this->addCommandName(self::GIT_REMOTE_SHOW);
        /**
         *  only add subject if relevant,
         *  otherwise on repositories without a remote defined (ie, fresh
         *  init'd or mock) will likely trigger warning/error condition
         *
         */
        if ($name) {
            $this->addCommandSubject($name);
        }

        if (!$queryRemotes) {
            $this->addCommandArgument('-n');
        }

        return $this;
    }
public function prepare($name = null, $queryRemotes = true)
    {
        $this->addCommandName(self::GIT_REMOTE_SHOW);
        /**
         *  only add subject if relevant,
         *  otherwise on repositories without a remote defined (ie, fresh
         *  init'd or mock) will likely trigger warning/error condition
         *
         */
        if ($name) {
            $this->addCommandSubject($name);
        }

        if (!$queryRemotes) {
            $this->addCommandArgument('-n');
        }

        return $this;
    }
public function prepare ( $ name = null , $ queryRemotes = true ) { $ this -> addCommandName ( self :: GIT_REMOTE_SHOW ) ; /**
         *  only add subject if relevant,
         *  otherwise on repositories without a remote defined (ie, fresh
         *  init'd or mock) will likely trigger warning/error condition
         *
         */ if ( $ name ) { $ this -> addCommandSubject ( $ name ) ; } if ( ! $ queryRemotes ) { $ this -> addCommandArgument ( '-n' ) ; } return $ this ; }
build show sub command

NOTE: for technical reasons $name is optional, however under normal
implementation it SHOULD be passed!

@param string $name
@param bool   $queryRemotes Fetch new information from remotes

@return ShowSubCommand
build show sub command