Skip to content

Remove unneeded call to Repository#root_ref in #log

Ahmad Sherif requested to merge fix/remove-unneeded-root-ref-call into master

From our monitoring data, it seems that Repository#root_ref can be slow sometimes (probably because it involves iterating over all branches), and there's no need to have it in the default_options hash since a similar effect is achieved in actual_ref = options[:ref] || root_ref below, and subsequent calls don't need a :ref key in the passed options.

Merge request reports