Skip to content

GitLeaks fails on git rename warning #915

@anotherbridge

Description

@anotherbridge

Describe the bug
This is related to issue #750.
When I run gitleaks on a large repository it gives me the following warning and quits:

9:01AM ERR warning: inexact rename detection was skipped due to too many files.
9:01AM WRN warning: you may want to set your diff.renameLimit variable to at least 19618 and retry the command.

Expected behavior
Gitleaks should still continue to run without the exiting with status 1.

Basic Info (please complete the following information):

  • OS: Debian 11
  • Gitleaks Version: 8.8.11

cc @zricethezav

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions