projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f230b2
)
MTrack/SCM/Git/WorkingCopy.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Sep 2011 09:44:48 +0000
(17:44 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Sep 2011 09:44:48 +0000
(17:44 +0800)
MTrack/SCM/Git/WorkingCopy.php
patch
|
blob
|
history
diff --git
a/MTrack/SCM/Git/WorkingCopy.php
b/MTrack/SCM/Git/WorkingCopy.php
index
771a0b8
..
252c953
100644
(file)
--- a/
MTrack/SCM/Git/WorkingCopy.php
+++ b/
MTrack/SCM/Git/WorkingCopy.php
@@
-77,12
+77,10
@@
class MTrack_SCM_Git_WorkingCopy extends MTrack_SCM_WorkingCopy
if (!strlen($reason)) {
$reason = 'Changed';
}
- echo htmlspecialchars(implode(" ", array('commit', '-a', '-m', $reason ,
- '--author="' . $CS->name . ' <'. $CS->email . '>"' )));exit;
- exit;
+
return stream_get_contents(
- $this->git('commit', '-a',
'-m', $reason ,
- '--author="' . $CS->name . ' <'. $CS->email . '>"' )
+ $this->git('commit', '-a',
+ '--author="' . $CS->name . ' <'. $CS->email . '>"'
, '-m', $reason
)
);
}