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

Fix git not ignoring _maps/backup folders #39250

Merged
merged 1 commit into from Jul 22, 2018

Conversation

SpaceManiac
Copy link
Contributor

@SpaceManiac SpaceManiac commented Jul 20, 2018

backup/ in _maps/.gitignore is not the same as _maps/backup/ in .gitignore (#39028)

@SpaceManiac SpaceManiac added the Code Improvement Code is now easier to copy paste. label Jul 20, 2018
@Cyprex
Copy link
Contributor

Cyprex commented Jul 21, 2018

Do I understand correctly that maps/backup would always have been ignored, but this is about things like
maps/a/backup?
So, before Cyberboss's PR maps/a/backup would have been ignored, and this PR restores that behaviour?
How is the starting slash in .gitignore evaluated, as the repository root?

@SpaceManiac
Copy link
Contributor Author

All rules are relative to the folder which contains the file they appear in. Rules which do not start with / automatically start with /**/ (i.e. they apply to subdirectories also).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Improvement Code is now easier to copy paste.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants