MTrack/SCM/Git/CommitHookBridge.php
authorAlan Knowles <alan@akbkhome.com>
Wed, 27 Jul 2011 11:46:36 +0000 (19:46 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 27 Jul 2011 11:46:36 +0000 (19:46 +0800)
MTrack/SCM/Git/CommitHookBridge.php

index c52d7c2..bbb4f9d 100644 (file)
@@ -28,7 +28,8 @@ class MTrack_SCM_Git_CommitHookBridge extends  IMTrackCommitHookBridge
             list($old, $new, $ref) = explode(' ', trim($line), 3);
             $this->commits[] = $new;
   
-            $fp = $this->repo->git('log', '--no-color', '--name-status',
+            $fp = $this->repo->git(
+                'log', '--no-color', '--name-status',
                 '--date=rfc', $ref, "$old..$new");