Skip to content

[Symfony/Finder] ignoreVCSIgnored to look for .gitignore in parent directory #30739

@ahmedsbytes

Description

@ahmedsbytes

in Symfony/Finder component , ignoreVCSIgnored search for .gitignored file in the directory passed to in(). But that file may be present in a parent folder (a Symfony project often has all gitignore rules defined at the project root, even when ignoring nested files/folders) or in subdirectories (with rules applying only in the given subdirectory).

#30448 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions