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

.gitignore whitelists are not respected. #422

Closed
akgerber opened this issue Jun 5, 2014 · 2 comments
Closed

.gitignore whitelists are not respected. #422

akgerber opened this issue Jun 5, 2014 · 2 comments
Labels

Comments

@akgerber
Copy link

akgerber commented Jun 5, 2014

This may be best explained with a simple example:
Given this .gitignore:

#start by ignoring everything
*
#and whitelist the stuff we want to keep
!problems/
!problems/*

And this directory structure:

.
└── problems
    └── fake_file.rb

where fake_file.rb contains

HELLO WORLD

ag WORLD returns no results.
ag -a WORLD returns results:

$ag -a WORLD
problems/fake_file.rb
1:HELLO WORLD
@eevee
Copy link

eevee commented Sep 2, 2014

Duplicate of #168?

@ggreer ggreer added the ignore label Sep 26, 2014
@ggreer
Copy link
Owner

ggreer commented Oct 12, 2014

Yes, this is a dupe of #168. Please watch that issue.

@ggreer ggreer closed this as completed Oct 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants