Skip to content

ugrep does not ignore folder that specified in .gitignore under sub-directory #526

@Kothric

Description

@Kothric

in following folder struct:
A/B/.gitignore # contains pattern"/target"
A/B/target

case 1:
if run "ug PATTERN -I --ignore-files" under A/B/, then folder target is correctly ignored.

case 2:
if run "ug PATTERN -I --ignore-files" under A/, folder target is not ignored.

ripgrep correctly ignore the target folder in both cases.

Observed above on windows 11, use procmon tool. ugrep 7.5.

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