MTrackWeb/Hook/git.php
authorAlan Knowles <alan@akbkhome.com>
Sat, 25 Jun 2011 15:16:55 +0000 (23:16 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 25 Jun 2011 15:16:55 +0000 (23:16 +0800)
MTrackWeb/Hook/git.php

index 4f8c63e..c2911db 100755 (executable)
@@ -51,7 +51,7 @@ 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);
+            print_r($revs[0]->changebyToRFC());
             die("work out user?");
             
             // WTF is this for.. it the hook should be telling who the user is.