Created
February 7, 2018 12:48
-
-
Save rnestler/f58d58b8350009e228cb1a0210f1b4d8 to your computer and use it in GitHub Desktop.
ripgrep output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
% git grep foo | |
buildtools/test.txt:Test to find: foobar | |
% rg --debug foo | |
DEBUG:grep::search: regex ast: | |
Literal { | |
chars: [ | |
'f', | |
'o', | |
'o' | |
], | |
casei: false | |
} | |
DEBUG:grep::literals: literal prefixes detected: Literals { lits: [Complete(foo)], limit_size: 250, limit_class: 10 } | |
DEBUG:globset: glob converted to regex: Glob { glob: "**/build*", re: "(?-u)^(?:/?|.*/)build.*$", opts: GlobOptions { case_insensitive: false, literal_separator: false }, tokens: Tokens([RecursivePrefix, Literal('b'), Literal('u'), Literal('i'), Literal('l'), Literal('d'), ZeroOrMore]) } | |
DEBUG:globset: built glob set; 0 literals, 1 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 1 regexes | |
DEBUG:ignore::walk: ignoring ./build-64: Ignore(IgnoreMatch(Gitignore(Glob { from: Some("./.gitignore"), original: "build*", actual: "**/build*", is_whitelist: false, is_only_dir: false }))) | |
DEBUG:ignore::walk: ignoring ./build: Ignore(IgnoreMatch(Gitignore(Glob { from: Some("./.gitignore"), original: "build*", actual: "**/build*", is_whitelist: false, is_only_dir: false }))) | |
DEBUG:ignore::walk: ignoring ./.gitignore: Ignore(IgnoreMatch(Hidden)) | |
DEBUG:ignore::walk: ignoring ./buildtools: Ignore(IgnoreMatch(Gitignore(Glob { from: Some("./.gitignore"), original: "build*", actual: "**/build*", is_whitelist: false, is_only_dir: false }))) | |
DEBUG:ignore::walk: ignoring ./.git: Ignore(IgnoreMatch(Hidden)) | |
No files were searched, which means ripgrep probably applied a filter you didn't expect. Try running again with --debug. | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment