Force changed squash commit message before merge of merge request and possibility to save a commit message in the merge request

Problem to solve

When we create a new merge request we always get a proposed commit message. This is almost never the one we want to have as our squash commit message. But a lot of times we forget to change it before clicking merge. This creates a lot of faulty written commit messages in our git log.

Intended users

Mostly developers... I guess.

User experience goal

Not getting annoyed every time you accidentally click merge without changing the squash commit message first.

Proposal

Add a setting to Settings -> General -> Merge requests which keep the squash commit message empty and won't let you click merge until it been changed.

It would also be nice to write a commit message in the merge request and save it. So it can be a part of the merge review.

Edited by 🤖 GitLab Bot 🤖