projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0c7f746
)
MTrack/CommitChecker.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 03:40:36 +0000
(11:40 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 03:40:36 +0000
(11:40 +0800)
MTrack/CommitChecker.php
patch
|
blob
|
history
diff --git
a/MTrack/CommitChecker.php
b/MTrack/CommitChecker.php
index
34a95ae
..
3e4a753
100644
(file)
--- a/
MTrack/CommitChecker.php
+++ b/
MTrack/CommitChecker.php
@@
-314,16
+314,27
@@
class MTrack_CommitChecker {
$log .= " (on behalf of [user:$c->changeby]) ";
}
*/
$log .= " (on behalf of [user:$c->changeby]) ";
}
*/
+
$log .= $c->changelog;
$log .= $c->changelog;
+ if (!isset($deferred[$T->id])) {
+ $deferred[$T->id] = array(
+ 'comments' => array(),
+ 'changes' => array(),
+ 'act' => array(),
+
+ );
+ }
+
$deferred[$T->id]['comments'][] = $log;
$deferred[$T->id]['comments'][] = $log;
+ $deferred[$T->id]['changes'][] = $c;
if (isset($act['spent']) && $c->changeby != $me) {
$spent_by_tid_by_user[$T->id][$c->changeby_id][] = $act['spent'];
unset($act['spent']);
}
if (isset($act['spent']) && $c->changeby != $me) {
$spent_by_tid_by_user[$T->id][$c->changeby_id][] = $act['spent'];
unset($act['spent']);
}
- $deferred[$T->
t
id]['act'][] = $act;
+ $deferred[$T->id]['act'][] = $act;
//???
$this->checkVeto('postCommit', $log, $fqfiles, $actions);
//???
$this->checkVeto('postCommit', $log, $fqfiles, $actions);