Skip to content

Update .gitignore to ignore all target-like dirs. #16194

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

Merged
merged 2 commits into from
Aug 3, 2014
Merged

Update .gitignore to ignore all target-like dirs. #16194

merged 2 commits into from
Aug 3, 2014

Conversation

omasanori
Copy link
Contributor

I also sorted lines in .gitignore. The file might include some obsoleted lines but I left.

@huonw
Copy link
Member

huonw commented Aug 2, 2014

Would it be possible to split out the sorting and additions & deletions into two separate commits?

@omasanori
Copy link
Contributor Author

@huonw OK.

@omasanori
Copy link
Contributor Author

Done.

*.llvm
*.out
*-*-*-*/
*-*-*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Target folders only show up at the root, right? You can use the / prefix to ensure the pattern doesn't get used anywhere else.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

Signed-off-by: OGINO Masanori <[email protected]>
@omasanori
Copy link
Contributor Author

Glob patterns are prefixed with a slash to prevent from hiding non-target directories now.

bors added a commit that referenced this pull request Aug 3, 2014
I also sorted lines in .gitignore. The file might include some obsoleted lines but I left.
@bors bors closed this Aug 3, 2014
@bors bors merged commit 821262f into rust-lang:master Aug 3, 2014
@omasanori omasanori deleted the gitignore branch August 3, 2014 06:56
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.

4 participants