Skip to content
  • Sean McGivern's avatar
    Only search for MR revert commits on notes after MR was merged · 27ebfb5c3bd2
    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.
    27ebfb5c3bd2