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

Properly support nested globs when there are conflicts #310

Merged
merged 2 commits into from
Dec 3, 2022

Conversation

mitsuhiko
Copy link
Owner

Before this change globbing would never include the folder of the expanded file. This causes issues when you have something like a */*.txt glob expanding to a/foo.txt and b/foo.txt. Now the longest common prefix is discarded and the rest ends up in the snapshot suffix still.

Fixes #306

@mitsuhiko mitsuhiko merged commit 72ba9a8 into master Dec 3, 2022
@mitsuhiko mitsuhiko deleted the feature/nested-glob branch December 3, 2022 13:00
@mitsuhiko mitsuhiko changed the title Properly supporte nested globs when there are conflicts Properly support nested globs when there are conflicts Dec 3, 2022
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.

Snapshot names don't include directory names
1 participant