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

Warning about ** in .gitignore #1124

Closed
sgraham opened this issue Nov 27, 2018 · 1 comment
Closed

Warning about ** in .gitignore #1124

sgraham opened this issue Nov 27, 2018 · 1 comment
Labels
duplicate An issue that is duplicative of another.

Comments

@sgraham
Copy link

sgraham commented Nov 27, 2018

What version of ripgrep are you using?

ripgrep 0.10.0 (rev 8a7db1a)
-SIMD -AVX (compiled)

How did you install ripgrep?

From github releases page.

What operating system are you using ripgrep on?

Ubuntu 18.04-ish

Describe your question, feature request, or bug.

When rging in a large project that pulls https://github.com/catapult-project/catapult/blob/master/telemetry/bin/.gitignore#L2 in as a dependency, I get:

./third_party/catapult/telemetry/bin/.gitignore: line 2: error parsing glob '!**.sha1': invalid use of **; must be one path component

in my output. I didn't scrutinize the .gitignore spec (is there one?) to decide whether that project is wrong or rg is wrong, but it'd be nice if it didn't clutter the output.

@sgraham
Copy link
Author

sgraham commented Nov 27, 2018

Oops, sorry, I see this is an old duplicate of #507 and others now. Well, +1 I guess. :)

@sgraham sgraham closed this as completed Nov 27, 2018
@BurntSushi BurntSushi added the duplicate An issue that is duplicative of another. label Nov 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate An issue that is duplicative of another.
Projects
None yet
Development

No branches or pull requests

2 participants