• Yorick Peterse's avatar
    Only load branch names for protected branch checks · a0527ab8
    Yorick Peterse authored
    When checking if a branch is protected we don't need all columns of
    every protected branch row, instead we only care about the names. By
    using "select" here we reduce the amount of data we need to send over
    the wire and load into memory.
    a0527ab8
protected_branch.rb 717 Bytes