git rev-list --quiet is slow in a large repo · Issue #3604 · pre-commit/pre-commit · GitHub
Skip to content

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

Closed

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

Activity

  1. asottile commented on Dec 26, 2025

    @asottile
    Member

    feel free to send a (non ai generated) patch!

  2. added a commit that references this issue on Dec 26, 2025
    b285ccc
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