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).

Forfatter
Marcus_
Daglige installasjoner
0
Totale installasjoner
4
Vurderinger
0 0 0
Versjon
1.2
Lagd
15.03.2022
Oppdatert
15.03.2022
Size
1,5 kB
Lisens
GPL-2.0
Gjelder

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).