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 )
);
}