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

Support for patterns starting with / in .gitignore. #116

Closed
julien-f opened this issue Apr 15, 2015 · 3 comments

Comments

@julien-f
Copy link

commented Apr 15, 2015

If there is a dist/ directory which is ignored from the .gitignore file with the /dist/ pattern, it will nevertheless be explored by standard.

@Flet

This comment has been minimized.

Copy link
Member

commented Apr 15, 2015

It seems that gitignore patterns do not directly translate to globs.

May want to defer to another module to do this, such as:
https://www.npmjs.com/package/gitignore-globs
(Really great Resources section in the readme)

@feross

This comment has been minimized.

Copy link
Member

commented Apr 17, 2015

All these glob and pattern matching libraries have bugs in them, it seems.

I was trying to put something together to fix this, but had to send out PRs first:

Once these are resolved, I'll try again.

@feross

This comment has been minimized.

Copy link
Member

commented Apr 21, 2015

standard@3.7.0 removed support for .gitignore until we can make it work more reliably.

@feross feross closed this Apr 21, 2015

Flet added a commit to Flet/standard that referenced this issue Oct 23, 2015

@lock lock bot locked as resolved and limited conversation to collaborators May 11, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
3 participants
You can’t perform that action at this time.