From 7f230b2f7d5b0a23685bf63efdb66425d5fbefe1 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 6 Sep 2011 17:44:11 +0800 Subject: [PATCH] MTrack/SCM/Git/WorkingCopy.php --- MTrack/SCM/Git/WorkingCopy.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MTrack/SCM/Git/WorkingCopy.php b/MTrack/SCM/Git/WorkingCopy.php index a7102b07..771a0b89 100644 --- a/MTrack/SCM/Git/WorkingCopy.php +++ b/MTrack/SCM/Git/WorkingCopy.php @@ -77,8 +77,7 @@ class MTrack_SCM_Git_WorkingCopy extends MTrack_SCM_WorkingCopy if (!strlen($reason)) { $reason = 'Changed'; } - print_R($CS);exit; - echo htmlspecialchars(implode(" ", array('commit', '-a', '-m', $reason , + echo htmlspecialchars(implode(" ", array('commit', '-a', '-m', $reason , '--author="' . $CS->name . ' <'. $CS->email . '>"' )));exit; exit; return stream_get_contents( -- 2.39.2