MTrack/SCM/Git/WorkingCopy.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 6 Sep 2011 09:41:46 +0000 (17:41 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 6 Sep 2011 09:41:46 +0000 (17:41 +0800)
MTrack/SCM/Git/WorkingCopy.php

index 456d27e..ce14b6f 100644 (file)
@@ -77,6 +77,8 @@ class MTrack_SCM_Git_WorkingCopy extends MTrack_SCM_WorkingCopy
         if (!strlen($reason)) {
             $reason = 'Changed';
         }
+        echo implode(" ", array('commit', '-a', '-m', $reason ,
+                       '--author="' . $CS->name . ' <'. $CS->email . '>"' ));exit;
          
         return stream_get_contents(
             $this->git('commit', '-a', '-m', $reason ,