src/Console/DeployCommand.php
protected function askForChangesConfirmation(GitWorkingCopy $workingCopy)
    {
        $deployTo = "{$this->container['config']['deploy.git.url']}#{$this->container['config']['deploy.git.branch']}";

        $confirm = new ConfirmationQuestion("<comment>Commit all and push to <path>{$deployTo}</path>?</comment> [Yn] ");

        return $this->getHelper('question')->ask($this->input, $this->output, $confirm);
    }
protected function askForChangesConfirmation(GitWorkingCopy $workingCopy)
    {
        $deployTo = "{$this->container['config']['deploy.git.url']}#{$this->container['config']['deploy.git.branch']}";

        $confirm = new ConfirmationQuestion("<comment>Commit all and push to <path>{$deployTo}</path>?</comment> [Yn] ");

        return $this->getHelper('question')->ask($this->input, $this->output, $confirm);
    }
protected function askForChangesConfirmation ( GitWorkingCopy $ workingCopy ) { $ deployTo = "{$this->container['config']['deploy.git.url']}#{$this->container['config']['deploy.git.branch']}" ; $ confirm = new ConfirmationQuestion ( "<comment>Commit all and push to <path>{$deployTo}</path>?</comment> [Yn] " ) ; return $ this -> getHelper ( 'question' ) -> ask ( $ this -> input , $ this -> output , $ confirm ) ; }
Ask user to confirm changes listed by git status.

@param GitWorkingCopy $workingCopy
@return bool
Ask user to confirm changes listed by git status .