Gitlab raw commit adder

Replace the mangled commit message with the full patch, which is in general more useful to the experienced git user than the web UI, where you have to change views multiple time to see the contents of a commit and it's impossible to get the raw patch (other than appending .patch to the URL).

作者
Marcus_
日安装量
0
总安装量
5
评分
0 0 0
版本
1.2
创建于
2022-03-15
更新于
2022-03-15
大小
1.5 KB
许可证
GPL-2.0
适用于

Gitlab has a very mangled view of git commit messages and omits crucial information – like the actual commiter line, if the user has been found as gitlab user). This makes reviewing MRs a nightmare.

This script simply replaces the mangled commit message with the full patch, which is in general more useful to the experienced git user than the web UI, where you have to change views multiple time to see the contents of a commit and it's impossible to get the raw patch (other than appending .patch to the URL).