Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions