1. 06 5月, 2016 3 次提交
  2. 04 5月, 2016 3 次提交
  3. 03 5月, 2016 1 次提交
  4. 30 4月, 2016 3 次提交
    • G
      0cd5edf3
    • Y
      Tweak checking branches in Project#open_branches · b6a18f10
      Yorick Peterse 提交于
      This changes 4 things:
      
      1. Project#protected_branches_names has been renamed to
         Project#protected_branch_names.
      
      2. Project#open_branches uses a Set for the branch names as checking
         values in a Set is faster than checking values in a (large) Array.
      
      3. Some redundant code in Project#open_branches has been removed.
      
      4. Project#protected_branch_names now uses #pluck instead of #map,
         removing the need for loading entire DB records into memory.
      b6a18f10
    • Y
      Use a query in Project#protected_branch? · e28d1fa3
      Yorick Peterse 提交于
      This changes Project#protected_branch? to use a query to check if a
      branch is protected, instead of loading all ProtectedBranch records into
      memory just to check if the list of names includes a given branch name.
      e28d1fa3
  5. 29 4月, 2016 4 次提交
  6. 27 4月, 2016 3 次提交
  7. 26 4月, 2016 1 次提交
  8. 25 4月, 2016 3 次提交
  9. 21 4月, 2016 8 次提交
  10. 20 4月, 2016 9 次提交
  11. 19 4月, 2016 2 次提交