* Adjust git blame cmd for gogs repo.

This commit is contained in:
caoyanyi
2023-12-14 09:40:50 +08:00
parent a6695881de
commit bccbf0c705
+1 -1
View File
@@ -278,7 +278,7 @@ class Gogs
$path = ltrim($path, DIRECTORY_SEPARATOR);
chdir($this->root);
$list = execCmd(escapeCmd("$this->client blame -l $revision -- $path"), 'array');
$list = execCmd(escapeCmd("$this->client blame -l --root $revision -- $path"), 'array');
$blames = array();
$revLine = 0;