Skip to content

pi-fff: gitignore not respected when searching an absolute path outside the workspace #747

Description

@gjeusel

If I give fffind a path constraint pointing into another repo, gitignored files show up in the results:

fffind models.py in $HOME/src/myproject/mypackage/**

models.py
__pycache__/models.cpython-312.pyc
...

__pycache__/ is ignored via the .gitignore at the root of that repo.

Would you feel like considering it a "bug" ? And change the behavior to actually take the .gitignore definition in this other git repo ?
But then I wonder what of the multiple path usage ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions