mongrelion / ansible-role-docker

Ansible role for installing Docker
MIT License
62 stars 39 forks source link

Fix __pycache__ in .gitignore #51

Closed Porkepix closed 6 years ago

Porkepix commented 6 years ago

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