From 40efdc4d17811190424e56235178a1241becf78f Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 10 Oct 2018 14:59:47 +0800 Subject: [PATCH] * finish task #4983. --- module/git/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/git/model.php b/module/git/model.php index 95c8502521..2a8613ecad 100644 --- a/module/git/model.php +++ b/module/git/model.php @@ -283,11 +283,11 @@ class gitModel extends model exec("{$this->client} config core.quotepath false"); if($fromRevision) { - $cmd = "$this->client log --stat=1024 --name-status $fromRevision..HEAD"; + $cmd = "$this->client log --stat=1024 --stat-name-width=1000 --name-status $fromRevision..HEAD"; } else { - $cmd = "$this->client log --stat=1024 --name-status"; + $cmd = "$this->client log --stat=1024 --stat-name-width=1000 --name-status"; } exec($cmd, $list, $return);