Skip to content

Pathspec fails to match directories if they don't end with a slash #89

@MischaPanch

Description

@MischaPanch

With a gitignore spec containing the line

ignore_dirs_like_this_*/

pathspec will match

"ignore_dirs_like_this/"

but not

"ignore_dirs_like_this"

I guess it's not intended behavior, right?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions