projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfc8bf4
)
MTrackWeb/Hook/git.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 26 Jul 2011 23:33:15 +0000
(07:33 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 26 Jul 2011 23:33:15 +0000
(07:33 +0800)
MTrackWeb/Hook/git.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/Hook/git.php
b/MTrackWeb/Hook/git.php
index
e8a6c0c
..
f5ff0eb
100755
(executable)
--- a/
MTrackWeb/Hook/git.php
+++ b/
MTrackWeb/Hook/git.php
@@
-83,7
+83,11
@@
class MTrackWeb_Hook_git extends MTrackWeb
// at this point we have
// checker->no_ticket (contains commits without tickets)
- $checker->repo->logCommits($checker->no_ticket);
+ foreach($checker->no_ticket as $change_event) {
+ $cg = DB_DataObject::factory('mtrack_change');
+ $cg->createFromCommit($change_event);
+
+ }
print_r($checker);