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

Make ::path match directories as well as files #1204

Conversation

christian-schilling
Copy link
Member

Previously ::path/ only matched directories while ::path only matched files.
With this change ::path matches both, while keeping the behaviour of ::path/ as is.
This is in line on how things are handled in git's gitignore pattern syntax.

Change: match-dirs-and-files

@christian-schilling christian-schilling force-pushed the @changes/master/christian.schilling.de@gmail.com/match-dirs-and-files branch from dd54a44 to 3ace6a0 Compare May 9, 2023 08:44
Previously `::path/` only matched directories while `::path` only
matched files.
With this change `::path` matches both, while keeping the behaviour of
`::path/` as is.
This is in line on how things are handled in git's gitignore pattern
syntax.

Change: match-dirs-and-files
@christian-schilling christian-schilling force-pushed the @changes/master/christian.schilling.de@gmail.com/match-dirs-and-files branch from 3ace6a0 to 920b1a5 Compare May 16, 2023 15:18
@LMG LMG merged commit cb041ad into master May 17, 2023
1 check passed
@LMG LMG deleted the @changes/master/christian.schilling.de@gmail.com/match-dirs-and-files branch May 17, 2023 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants