Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mwr committed Oct 23, 2018
1 parent f3dcf48 commit 78baa9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Robo/RoboTasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 78baa9a

Please sign in to comment.