From 78baa9af09613da84b5b0b7003b6a5451dfd3d65 Mon Sep 17 00:00:00 2001 From: mwr Date: Tue, 23 Oct 2018 12:06:48 +0200 Subject: [PATCH] update comment --- src/Robo/RoboTasks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Robo/RoboTasks.php b/src/Robo/RoboTasks.php index 5bfc0f6..2c0011a 100644 --- a/src/Robo/RoboTasks.php +++ b/src/Robo/RoboTasks.php @@ -124,7 +124,7 @@ protected function taskUpdateSourceCode($branch, $revision = '') // Fetch origin $collection->taskGitStack($gitBin)->dir($gitDir)->exec(['fetch', '-vp', 'origin']); - // Only branches: check if branch is provided with revision hash e.g. develop@123456 + // parse the revision from the parameter if set if (\strpos($branch, '@') !== false) { [$branch, $revision] = explode('@', $branch); }