Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Commit

Permalink
Fixed missing output from subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
asgrim committed Sep 23, 2014
1 parent 6729691 commit 759517b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/Deploy/src/Git/GitRepository.php
Expand Up @@ -129,7 +129,7 @@ private function performFetch()
$output = $this->shell($this->gitCommand . ' fetch origin');

if ($this->getLastErrorNumber() == 0) {
$this->shell($this->gitCommand . ' fetch --tags origin');
$output = $this->shell($this->gitCommand . ' fetch --tags origin');

if ($this->getLastErrorNumber() == 0) {
return true;
Expand Down Expand Up @@ -287,4 +287,4 @@ private function sanitiseReference($reference)
{
return preg_replace('/[^-\/a-zA-Z0-9_-]/', '', $reference);
}
}
}

0 comments on commit 759517b

Please sign in to comment.