From 759517be171ace3c7b5d97b0a0a26deea1351f47 Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Tue, 23 Sep 2014 17:44:00 +0100 Subject: [PATCH] Fixed missing output from subcommand --- module/Deploy/src/Git/GitRepository.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/Deploy/src/Git/GitRepository.php b/module/Deploy/src/Git/GitRepository.php index 37ad5b9..8db3e4b 100644 --- a/module/Deploy/src/Git/GitRepository.php +++ b/module/Deploy/src/Git/GitRepository.php @@ -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; @@ -287,4 +287,4 @@ private function sanitiseReference($reference) { return preg_replace('/[^-\/a-zA-Z0-9_-]/', '', $reference); } -} \ No newline at end of file +}