MTrack/SCM/Git/WorkingCopy.php
[web.mtrack] / MTrack / SCM / Git / WorkingCopy.php
index 6a6c323..b2d671b 100644 (file)
@@ -77,7 +77,10 @@ class MTrack_SCM_Git_WorkingCopy extends MTrack_SCM_WorkingCopy
         if (!strlen($reason)) {
             $reason = 'Changed';
         }
-         
+        print_R($CS);exit;
+        echo implode(" ", array('commit', '-a', '-m', $reason ,
+                       '--author="' . $CS->name . ' <'. $CS->email . '>"' ));exit;
+         exit;
         return stream_get_contents(
             $this->git('commit', '-a', '-m', $reason ,
                        '--author="' . $CS->name . ' <'. $CS->email . '>"' )
@@ -91,7 +94,7 @@ class MTrack_SCM_Git_WorkingCopy extends MTrack_SCM_WorkingCopy
         foreach ($args as $arg) {
           $a[] = $arg;
         }
-        //print_r($a);
+         print_r($a);
         return MTrackSCM::run('git', 'read', $a);
     }
 }