• Sean McGivern's avatar
    Only search for MR revert commits on notes after MR was merged · f3cf8cc8
    Sean McGivern authored
    If we search for notes before the MR was merged, we have to load every commit
    that was ever part of the MR, or mentioned in a push. In extreme cases, this can
    be tens of thousands of commits to load, but we know they can't revert the merge
    commit, because they are from before the MR was merged.
    
    In the (rare) case that we don't have a `merged_at` value for the MR, we can
    still search all notes.
    f3cf8cc8
merge_request_spec.rb 64.4 KB