• Sean McGivern's avatar
    Ensure MRs always use branch refs for comparison · 3c6a4d63
    Sean McGivern authored
    If a merge request was created with a branch name that also matched a tag name,
    we'd generate a comparison to or from the tag respectively, rather than the
    branch. Merging would still use the branch, of course.
    
    To avoid this, ensure that when we get the branch heads, we prepend the
    reference prefix for branches, which will ensure that we generate the correct
    comparison.
    3c6a4d63
merge_request_spec.rb 58.2 KB