Project

General

Profile

Actions

Patch #30828

closed

Refactor GitAdapter#default_branch not to unnecessarily iterate through all elements

Patch #30828: Refactor GitAdapter#default_branch not to unnecessarily iterate through all elements

Added by Pavel Rosický almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:

Description

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


Files

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

Updated by Go MAEDA almost 8 years ago Actions #1

  • Target version set to 4.1.0

Setting the target version to 4.1.0.

Updated by Go MAEDA almost 8 years ago Actions #3

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

Committed the patch. Thank you for your contribution.

Updated by Go MAEDA almost 8 years ago Actions #4

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

Also available in: PDF Atom