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

index 252c953..dcca355 100644 (file)
@@ -77,6 +77,8 @@ class MTrack_SCM_Git_WorkingCopy extends MTrack_SCM_WorkingCopy
         if (!strlen($reason)) {
             $reason = 'Changed';
         }
+        putenv('GIT_COMMITTER_NAME='.$CS->name);
+        putenv('GIT_COMMITTER_EMAIL='.$CS->email);
          
         return stream_get_contents(
             $this->git('commit', '-a',