• 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
    correct.
    
    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.
    ca3c8685