diff --git a/lib/scm/gogs.class.php b/lib/scm/gogs.class.php index cd377b3274..d217c56f6c 100644 --- a/lib/scm/gogs.class.php +++ b/lib/scm/gogs.class.php @@ -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;