Skip to content

.ldignore file doesn't work for extinction searching #319

Description

@rspechenkin

We have a GitHub repository with code written in Golang. We vendor all dependencies so there's a big vendor folder in the root of the repo that contains 3rd-party dependencies. We don't want to scan this folder so we have .ldignore file in the root of the repository. The content of this file is:

vendor/**

Despite this fact, if I make a commit and add new files to the vendor folder, I can see that the tool scans such files:

DEBUG: 2023/01/20 14:47:48 git.go:305: Examining from file: FROM_PATH and to file: vendor/test/test.md

It seems that it scans only files that were added in the commit but doesn't scan the files that were there before the commit. (we run the tool with --lookback 1 parameter to scan only the last commit)

Tool version: 2.8.0

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions