Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: strip standalone "." directory path #2711

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 11, 2024

  1. Fix: strip standalone "." directory path

    The problem is that in Ignore::matched, the perfix "./" is stripped from
    files. In Ignore::matched_ignore, the directory path is then stripped
    from file paths. Now imagine we have a hidden file "./.foo" and pass "."
    as the search path. "./.foo" gets first stripped to ".foo" and then it
    would have been stripped to "foo".
    taeruh committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    9482d8c View commit details
    Browse the repository at this point in the history