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

Trailing slash should catch directories #3

Merged
merged 1 commit into from
Jul 30, 2014

Conversation

highb
Copy link
Contributor

@highb highb commented Jul 29, 2014

Found an issue where if you provide a .gitignore line with a trailing slash ('foo/'), it will match files inside but not the directory itself. The .gitignore spec specifies that the directory should be matched as well. This commit changes the end of spec regex to * to fix this issue.

Found an issue where if you provide a .gitignore line with a trailing slash ('foo/'), it will match files inside but not the directory itself. The .gitignore spec specifies that the directory should be matched as well. This commit changes the end of spec regex to * to fix this issue.
cpburnz added a commit that referenced this pull request Jul 30, 2014
Trailing slash should catch directories
@cpburnz cpburnz merged commit e0a65be into cpburnz:master Jul 30, 2014
dahlia added a commit to spoqa/python-path-specification that referenced this pull request Sep 14, 2014
@dahlia dahlia mentioned this pull request Sep 14, 2014
cpburnz added a commit that referenced this pull request Sep 18, 2014
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.

3 participants