From 480ac197066a38e69a3c49c7cd92bd3c82b87017 Mon Sep 17 00:00:00 2001 From: hahn <axel.hahn@iml.unibe.ch> Date: Tue, 27 Feb 2018 17:12:43 +0100 Subject: [PATCH] task#1847 - smail fixes: - getRevision writes git output to log (requires enabled debugging to see it) - added check for tmpdir --- public_html/deployment/classes/vcs.git.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/deployment/classes/vcs.git.class.php b/public_html/deployment/classes/vcs.git.class.php index 481a01da..42e5a91f 100644 --- a/public_html/deployment/classes/vcs.git.class.php +++ b/public_html/deployment/classes/vcs.git.class.php @@ -228,7 +228,7 @@ class vcs implements iVcs { $sGitCmd.='git ls-remote --heads --tags origin 2>&1 ;'; $this->log(__FUNCTION__." start command $sGitCmd"); exec($sGitCmd, $aOutput, $iRc); - $this->log(__FUNCTION__." end command $sGitCmd"); + $this->log(__FUNCTION__." end with rc=$iRc ", ($iRc==0 ? 'info':'error')); if ($iRc == 0) { // use cache that getCommitmessageByBranch can access it -- GitLab