MTrack/SCM/Git/WorkingCopy.php
[web.mtrack] / MTrack / SCM / Git / WorkingCopy.php
index 771a0b8..252c953 100644 (file)
@@ -77,12 +77,10 @@ class MTrack_SCM_Git_WorkingCopy extends MTrack_SCM_WorkingCopy
         if (!strlen($reason)) {
             $reason = 'Changed';
         }
-         echo htmlspecialchars(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 . '>"' )
+            $this->git('commit', '-a',
+                       '--author="' . $CS->name . ' <'. $CS->email . '>"' , '-m', $reason )
         );
     }