为什么 GitLab Graph 只显示提交而不显示 Additions/Deletions?

Why does the GitLab Graph only show commits and not Additions/Deletions?

从我以前的项目开始,我习惯于检查每个项目成员提交的 Additions/Deletions,但现在(新项目)我只能看到GitLab Graph 部分中每个组成员的提交。然而,这被证明有点毫无意义,因为即使是 oneliner 也可以代表一次提交并且不能满足我的信息需求。

由于这是一个大学项目,因此必须跟踪每个成员对项目的总体贡献。

如何将其更改为显示实际的 Additions/Deletions 数字?

谢谢。

由于性能不佳,此功能已从 GitLab v7.4.0 开始删除。

You can see the feature removal in this commit.

即使你不能再依赖 Gitlab 来显示这些统计数据,仍然可以直接从命令行获取它们。

参见:https://coderwall.com/p/pek-yg/git-statistics-for-repo-per-author

git log --shortstat --author="Optional" | grep -E "fil(e|es) changed" | awk '{files+=; inserted+=; deleted+=} END {print "files changed: ", files, "lines inserted: ", inserted, "lines deleted: ", deleted }'