Files
gerrit/gerrit-server/src/main/java
Martin Nonnenmacher 0ea9c35ba0 MergeabilityCacheImpl: Only get needed refs
In Loader.load the refs variable is only passed to the method
alreadyAccepted which is in turn only interested in refs/heads/* and
refs/tags/*. So instead of loading all references only load the needed
references in the first place.

This slighty improves performance, especially when a repository has many
refs/changes.

Change-Id: I11f2efb59eb00ef65a7323f9b673e11591da1959
2015-04-10 16:01:15 +09:00
..