projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4de376b
)
MTrack/SCM/Git/WorkingCopy.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Sep 2011 09:44:04 +0000
(17:44 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Sep 2011 09:44:04 +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
b2d671b
..
a7102b0
100644
(file)
--- a/
MTrack/SCM/Git/WorkingCopy.php
+++ b/
MTrack/SCM/Git/WorkingCopy.php
@@
-78,8
+78,8
@@
class MTrack_SCM_Git_WorkingCopy extends MTrack_SCM_WorkingCopy
$reason = 'Changed';
}
print_R($CS);exit;
- echo implode(" ", array('commit', '-a', '-m', $reason ,
- '--author="' . $CS->name . ' <'. $CS->email . '>"' ));exit;
+ 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 ,