Patch #30828

Refactor GitAdapter#default_branch not to unnecessarily iterate through all elements

Added by Pavel Rosický 6 months ago. Updated 6 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Performance
Target version:4.1.0

Description

#select iterates through all records and creates a new array which isn't necessary

git_adapter.rb.patch Magnifier (854 Bytes) Pavel Rosický, 2019-02-18 10:38

git_adapter.rb.patch Magnifier - fixed (854 Bytes) Pavel Rosický, 2019-02-18 13:20

Associated revisions

Revision 17883
Added by Go MAEDA 6 months ago

Refactor GitAdapter#default_branch not to unnecessarily iterate through all elements (#30828).

Patch by Pavel Rosický.

History

#1 Updated by Go MAEDA 6 months ago

  • Target version set to 4.1.0

Setting the target version to 4.1.0.

#2 Updated by Pavel Rosický 6 months ago

#3 Updated by Go MAEDA 6 months ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the patch. Thank you for your contribution.

#4 Updated by Go MAEDA 6 months ago

  • Subject changed from scm git - simplify #default_branch to Refactor GitAdapter#default_branch not to unnecessarily iterate through all elements

Also available in: Atom PDF