From d0e8be2dfe165e122c7c2f6deeac2bb99b374d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Monta=C3=B1ez?= Date: Sat, 13 Sep 2014 16:45:41 -0300 Subject: [PATCH] Git Remote Cache #123 --- Mage/Command/BuiltIn/DeployCommand.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Mage/Command/BuiltIn/DeployCommand.php b/Mage/Command/BuiltIn/DeployCommand.php index 829a329..d1888b3 100644 --- a/Mage/Command/BuiltIn/DeployCommand.php +++ b/Mage/Command/BuiltIn/DeployCommand.php @@ -35,6 +35,7 @@ class DeployCommand extends AbstractCommand implements RequiresEnvironment const DEPLOY_STRATEGY_RSYNC = 'rsync'; const DEPLOY_STRATEGY_TARGZ = 'targz'; const DEPLOY_STRATEGY_GIT_REBASE = 'git-rebase'; + const DEPLOY_STRATEGY_GIT_REMOTE_CACHE = 'git-remote-cache'; const DEPLOY_STRATEGY_GUESS = 'guess'; const DEFAULT_DEPLOY_STRATEGY = self::DEPLOY_STRATEGY_GUESS; @@ -557,6 +558,10 @@ class DeployCommand extends AbstractCommand implements RequiresEnvironment $deployStrategy = 'deployment/strategy/git-rebase'; break; + case self::DEPLOY_STRATEGY_GIT_REMOTE_CACHE: + $deployStrategy = 'deployment/strategy/git-remote-cache'; + break; + case self::DEPLOY_STRATEGY_GUESS: default: if ($this->getConfig()->release('enabled', false) == true) {