projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e9943c
)
MTrack/SCM/Git/WorkingCopy.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Sep 2011 08:38:43 +0000
(16:38 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Sep 2011 08:38:43 +0000
(16:38 +0800)
MTrack/SCM/Git/WorkingCopy.php
patch
|
blob
|
history
diff --git
a/MTrack/SCM/Git/WorkingCopy.php
b/MTrack/SCM/Git/WorkingCopy.php
index
3b689f7
..
06b1587
100644
(file)
--- a/
MTrack/SCM/Git/WorkingCopy.php
+++ b/
MTrack/SCM/Git/WorkingCopy.php
@@
-31,13
+31,13
@@
class MTrack_SCM_Git_WorkingCopy extends MTrackSCMWorkingCopy
array('clone', $this->repo->repopath, $this->dir)
);
}
-
- function __destruct() {
- if ($this->push) {
- echo stream_get_contents($this->git('push'));
- }
- parent::__destruct($this->dir);
+
+ function push()
+ {
+ return stream_get_contents($this->git('push'));
}
+
+
function getFile($path)
{