Files
gitlabhq/app/models
Yorick Peterse b6a18f1093 Tweak checking branches in Project#open_branches
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.
2016-04-29 22:44:08 +02:00
..
2011-10-09 00:36:38 +03:00
2016-03-15 21:09:25 +01:00
2016-02-26 15:50:51 +01:00
2015-08-03 01:52:54 +09:00
2016-04-28 21:28:39 +02:00
2016-01-29 13:39:33 -05:00
2016-04-18 07:35:43 -04:00
2015-05-03 13:38:27 -07:00
2015-04-03 12:28:47 +02:00
2016-01-06 13:09:55 +00:00
2016-03-06 23:07:19 -05:00
2016-03-29 12:19:09 +01:00
2016-01-12 12:29:10 -02:00
2015-12-18 14:19:48 -06:00
2014-08-25 12:25:02 +03:00
2016-04-20 17:00:12 +01:00
2015-12-08 21:00:01 -08:00
2015-12-08 21:00:01 -08:00
2016-03-05 18:12:17 -05:00
2016-03-05 18:12:17 -05:00
2015-11-13 19:22:46 +01:00
2015-08-03 01:52:54 +09:00
2016-04-28 21:28:39 +02:00
2016-03-18 13:27:27 -03:00
2016-04-26 10:41:48 -06:00