Skip to content

Find in files files to include should override exclude settings? #23894

Closed

Description

@Tyriar

If I say I want to find in a folder I would think that would override the exclude setting?

image

image

Activity

  1. roblourens commented on Apr 4, 2017

    @roblourens
    Member

    I think you can make an argument either way, and I don't have a good way to detect this or to override how ripgrep matches with a set of patterns.

  2. added
    feature-request
    search
    on Apr 4, 2017
  3. BurntSushi commented on Apr 5, 2017

    @BurntSushi

    roblourens Just speaking to ripgrep specifically: if you pass the files/directories from "files to include" as positional arguments to ripgrep (instead of just ./), then that will override everything else.

  4. roblourens commented on Apr 5, 2017

    @roblourens
    Member

    I do have #18334 which is basically that - my response above was more about include globs vs exclude globs in general.

  5. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature-requestsearch

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions