Skip to content

Flag -g/--gitignore doesn't ignore .git/ #507

@marcospb19

Description

@marcospb19

Version

0.4.2

Description

--gitignore reads the contents of .gitignore files and skip the matches when recursing.

However, there are some files "ignored by default" by git which are not in the .gitignore files.

The main example being the .git folder, which is commonly huge, it would be very useful to have -g also ignoring them.

Current Behavior

Doesn't ignore .git/ when -g is set.

Expected Behavior

Ignore .git/ when -g is set.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions