gitlab-org--gitlab-foss/app
Yorick Peterse e28d1fa3cc
Use a query in Project#protected_branch?
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.
2016-04-29 22:21:06 +02:00
..
assets Merge branch 'dz-small-ui-fixes' into 'master' 2016-04-29 17:56:46 +00:00
controllers Merge branch 'async-new-branch-button' into 'master' 2016-04-28 21:00:22 +00:00
finders Remove the .distinct when finding issues 2016-04-21 18:49:08 +02:00
helpers Remove deprecated CI badge helper 2016-04-29 12:21:20 +02:00
mailers Merge branch 'mr-formatting' into 'master' 2016-04-19 16:23:41 +00:00
models Use a query in Project#protected_branch? 2016-04-29 22:21:06 +02:00
services Support supressing text file diffs on the default branch with .gitattributes 2016-04-29 12:45:15 +01:00
uploaders
validators
views Merge branch 'dz-small-ui-fixes' into 'master' 2016-04-29 17:56:46 +00:00
workers Do not fsck projects less than a day old 2016-04-26 13:35:52 +02:00