X-Git-Url: http://git.pk910.de/?p=GITManagedWebpage.git;a=blobdiff_plain;f=GITManagedWebpage.class.php;fp=GITManagedWebpage.class.php;h=481bf143ecafcfea7fe91ae9ec2bc06cece07a0e;hp=7622b30ebd41a15ff707329d29b8ce1b2c871311;hb=7710afc9831e3521bdbe6cc190336e6fc2084a87;hpb=232fbba4bb424b803f4beb8fc91744b1d671ba6e 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];