Allow authors to set the squash commit message
Problem to solve
Squashing commits in Git is a great way to group several commits, which by themselves may provide little historical value, into a single large commit before pushing upstream. Pushing a single commit allows for a more meaningful commit message, as well as ensuring the group of commits provides a “green” continuous integration pipeline.
Typically, the last approver who merges the MR is the one to write the squash commit message, but as the MR author I would like to provide the commit message details before hand.
Further details
Overriding the squash commit message is helpful if I am merging my own commits, but typically the last merge request approver does. This means that feature is of much less value.
As the merge request author, I want to be able to override the squash commit message at some time in advance of someone else merging my merge request.
Proposal
Allow the squash commit message and merge commit message to be edited and saved without being merged.
Surface the "commit message" section of the merge request to merge request author (developer+)
Collapsed commit message section | Expanded commit message section |
---|---|
We could additionally provide a "save" button to confirm the changes have been saved