From 7710afc9831e3521bdbe6cc190336e6fc2084a87 Mon Sep 17 00:00:00 2001 From: pk910 Date: Sun, 6 Oct 2013 02:59:18 +0200 Subject: [PATCH] removed debug output --- GITManagedWebpage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GITManagedWebpage.class.php b/GITManagedWebpage.class.php index 7622b30..481bf14 100644 --- a/GITManagedWebpage.class.php +++ b/GITManagedWebpage.class.php @@ -234,7 +234,7 @@ class GITManagedWebpage { $current_branch = str_replace(array("\r", "\n"), array("", ""), $this->gitcmd("rev-parse", "--abbrev-ref", "HEAD")); if($current_branch != $branch) $this->gitcmd("checkout", $branch); - echo $this->gitcmd("pull"); + $this->gitcmd("pull"); $gitret = $this->gitcmd("rev-list", "--max-count=1", $branch); preg_match("#([a-z0-9]{40})#", $gitret, $match); $newest_version = $match[1]; -- 2.20.1