1. 07 Nov, 2017 1 commit
    • Toon Claes's avatar
      When deleting merged branches, ignore protected tags · ca3c8685
      Toon Claes authored
      In gitlab-org/gitlab-ce!13251 wildcard Protected Branches were handled
      properly when deleting all merged branches. But this fix wasn't that
      good. It also checked branch names against Protected Tags. That's not
      This change will **only** check if there is a Protected Branch
      matching the merged branch, and ignores Protected Tags.
      Closes gitlab-org/gitlab-ce#39732.
  2. 07 Oct, 2017 1 commit
  3. 02 Aug, 2017 1 commit
  4. 28 Jul, 2017 1 commit
    • Yorick Peterse's avatar
      Merge issuable "reopened" state into "opened" · 6ef87a20
      Yorick Peterse authored
      Having two states that essentially mean the same thing is very much like
      having a boolean "true" and boolean "mostly-true": it's rather silly.
      This commit merges the "reopened" state into the "opened" state while
      taking care of system notes still showing messages along the lines of
      "Alice reopened this issue".
      A big benefit from having only two states (opened and closed) is that
      indexing and querying becomes simpler and more performant. For example,
      to get all the opened queries we no longer have to query both states:
          SELECT *
          FROM issues
          WHERE project_id = 2
          AND state IN ('opened', 'reopened');
      Instead we can query a single state directly, which can be much faster:
          SELECT *
          FROM issues
          WHERE project_id = 2
          AND state = 'opened';
      Further, only having two states makes indexing easier as we will only
      ever filter (and thus scan an index) using a single value. Partial
      indexes could help but aren't supported on MySQL, complicating the
      development process and not being helpful for MySQL.
  5. 27 Jul, 2017 1 commit
  6. 04 Jul, 2017 1 commit
  7. 08 May, 2017 1 commit
  8. 19 Apr, 2017 1 commit
  9. 28 Mar, 2017 1 commit
  10. 09 Nov, 2016 1 commit
    • Toon Claes's avatar
      Add button to delete all merged branches · 1afab9eb
      Toon Claes authored
      It adds a button to the branches page that the user can use to delete
      all the branches that are already merged. This can be used to clean up
      all the branches that were forgotten to delete while merging MRs.
      Fixes #21076.