projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
903cc47
)
MTrackWeb/Hook/git.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 27 Jun 2011 10:58:56 +0000
(18:58 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 27 Jun 2011 10:58:56 +0000
(18:58 +0800)
MTrackWeb/Hook/git.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/Hook/git.php
b/MTrackWeb/Hook/git.php
index
9c181ec
..
a5bd80a
100755
(executable)
--- a/
MTrackWeb/Hook/git.php
+++ b/
MTrackWeb/Hook/git.php
@@
-50,7
+50,9
@@
class MTrackWeb_Hook_git extends MTrackWeb
// for POST commit, we can use bridge->commits[0] to determine who..
$revs = $repo->history('.',1,'rev', $bridge->commits[0]);
-
+
+ print_R($revs);
+
$who = $revs[0]->changebyToEmail();
$this->authUser = DB_DataObject::factory('Person');