Skip to content

running "git lfs track" in a large repository is very slow #1611

@MatthiasEgli

Description

@MatthiasEgli

Executing git lfs track in a large repository can be very slow. It takes >30s to run git lfs track in a repository with 31k files under version control and > 600k files in the same folder (mostly ignored in .gitignore) on modern hardware (most recent MacBook Pro at time of writing).

Being in itself an issue, it makes the usage of the popular tool Sourcetree unusable as it will run a git lfs track after every staging action.

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