Skip to content

New branch creation causes the plugin to iterate over all changesets #1

@itay

Description

@itay

We have a very large repo (over 100K changes, 10 years of history). If we enable the plugin, then pushing a new branch to the server basically causes the push to hang and eventually die, because it will check every commit since the beginning of time.

The above happens because Stash gives you a from hash of 000000 and a to hash of <sha>, which will give you all changesets when you do the iteration.

There's no good fix, but a good medium term fix will be to just add a limit to how many changes are requested for a new branch push (e.g. 100).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions