* adjust for get commiter in git.

This commit is contained in:
wangyidong
2019-01-31 13:26:36 +08:00
parent d9fe07cb9a
commit 9706530521
+1 -1
View File
@@ -324,7 +324,7 @@ class gitModel extends model
list($hash, $account, $date) = $log;
$account = preg_replace('/^Author:/', '', $account);
$account = trim(preg_replace('/<[\w\-\.]+@([\w\-]+\.)+\w+>/', '', $account));
$account = trim(preg_replace('/<[\w\-\.]+@[\w\-]+>/', '', $account));
$date = trim(preg_replace('/^Date:/', '', $date));
$count = count($log);