Skip to content

git rev-list --quiet is slow in a large repo #3604

@ptarjan

Description

@ptarjan

search you tried in the issue tracker

is:issue state:open rev-list

describe your issue

git rev-list --quiet takes 5 seconds in our repo. Please replace it with git cat-file -e .

pre-commit --version

4.5.0

.pre-commit-config.yaml

(sadly I can't share)

~/.cache/pre-commit/pre-commit.log (if present)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions