Squash commits when merging a Merge request
_**Closing this issue in favor of #150. Please participate there if any other comments.**_ ### Description This issue has to be done after #895 and is part of #411 . The idea is to squash commits together into one before merging a merge request. ### Specifications - Add an option in the Project settings to allow this functionality - Add a dropdown on the Merge Request screen with the option to squash commits - When selected, an input field and a textarea appear to let the user enter the squash commit message. ### Wireframes #### Option in the Settings panel of a project: ![image](/uploads/fd5c799fc9ee98f91323b6946107a522/image.png) #### Flow in the Merge Request screen ![image](/uploads/43b943153855356d15affbde74dc141f/image.png) ![image](/uploads/5fe1810c3f0293cff08a309379e4f317/image.png) ![image](/uploads/d98539a96928f419d83e556ea949ef89/image.png) ### Reference - Part of issue #411 (*Improve Merge Request accept flow with automatic rebase and option to squash*) - Related to #150 - Should be done after #895 (*Simplification of the merging process through the UI*) cc/ @JobV @DouweM
issue