Skip to content

Git: support for ref-format=reftable #5019

@acdha

Description

@acdha

Description

Git 2.45.0 added support for reftable which has performance improvements on large projects. Unfortunately, Trufflehog does not support this format and if you scan a repository which was initialized with that option or migrated using git refs migrate --ref-format=reftable you will get this error:

$ trufflehog --version
trufflehog 3.95.5
$ trufflehog git --trust-local-git-config --detector-timeout=120s file://.
…
2026-06-04T16:49:24-04:00	error	trufflehog	encountered errors during scan	{"job": 1, "source_name": "trufflehog - git", "errors": ["error chunking dir \".\": core.repositoryformatversion does not support extension: refstorage"]}

Preferred Solution

Trufflehog should support this Git feature.

References

Metadata

Metadata

Assignees

No one assigned

    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