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 __pycache__ in .gitignore #51

Merged
merged 1 commit into from
Jun 11, 2018

Conversation

Porkepix
Copy link
Contributor

Used syntax was invalid
pycache would also have work but would have match both directories and files.
The trailing slash target only directories.

As visible at git-scm.com/docs/gitignore double asterisks without slashes to target directories are invalid.

To be more specific, it looks like git is somehow accepting it, but that it doesn't respect specs, and therefore break other tools like ripgrep for example, which is following specs.

See BurntSushi/ripgrep#373 for example

Used syntax was invalid
@paulfantom paulfantom merged commit 003dafe into mongrelion:master Jun 11, 2018
@Porkepix Porkepix deleted the fix_gitignore_pycache branch June 11, 2018 10:04
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.

None yet

2 participants