I suggest you ...

Allow Merge Request creator to choose whether to remove source branch

GitLab currently lets the person accepting a merge request decide whether to remove the source-branch. Whenever I accept a merge request, I invariably end up asking the person who created it "do you want me to remove your source branch?"

The source branch is usually either
*. In the creator's fork
*. In the main project, but unofficially "owned" by the creator.

Therefore, I think it makes more sense to ask on the merge request creation form whether the source branch should be removed. I can think of two ways to handle this in the UI:

1. Remove the "Remove source-branch" checkbox next to the "Accept Merge Request" button completely. Replace it with text that specifies "source-branch will be removed" if it will be removed. If someone other than the creator wants to remove the branch, they can still use the button do so that appears on merged merge requests.

2. Set the "Remove source-branch" checkbox's default state based on the creator's preference. (Possibly with additional text that indicates the creator's preference).

Thank you! GitLab is a pleasure to use.

31 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Daniel AxelrodDaniel Axelrod shared this idea  ·   ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base