Skip to content

Issue with big repos and branch listings #69

Closed

Description

@esteban-serfe

Hi there:

I'm trying to list all the branches from a big repository (arround 520 branches) but the command never ends.

$repo = $git->open(..path..); $branches = $repo->getBranches();
When there is only one remote, the command works fine.
When using 2 remotes, the command never ends (waited for more than 30 minutes).

I even tried to configure pager.branch => false or cat to avoid less output, but without luck.

Using PHP 7.4

Activity

  1. janpecha commented on May 9, 2021

    @janpecha
    Member

    Hello, thanks for report. Please try dev-master version, it should be fixed.

  2. esteban-serfe commented on May 10, 2021

    @esteban-serfe
    Author

    Hi @janpecha This worked smootly.
    Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions