MTrack/SCM/Git/WorkingCopy.php
[web.mtrack] / MTrack / SCM / Git / WorkingCopy.php
index 833d0ab..b2d671b 100644 (file)
@@ -77,10 +77,14 @@ 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 . '>"' ) );
+                       '--author="' . $CS->name . ' <'. $CS->email . '>"' )
+        );
     }
   
     function git()
@@ -90,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);
     }
 }