projects
/
GITManagedWebpage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
232fbba
)
removed debug output
author
pk910
<philipp@zoelle1.de>
Sun, 6 Oct 2013 00:59:18 +0000
(
02:59
+0200)
committer
pk910
<philipp@zoelle1.de>
Sun, 6 Oct 2013 00:59:18 +0000
(
02:59
+0200)
GITManagedWebpage.class.php
patch
|
blob
|
history
diff --git
a/GITManagedWebpage.class.php
b/GITManagedWebpage.class.php
index 7622b30ebd41a15ff707329d29b8ce1b2c871311..481bf143ecafcfea7fe91ae9ec2bc06cece07a0e 100644
(file)
--- 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];