Commit a8580e56 authored by Christian Hergert's avatar Christian Hergert
Browse files

grep: use git grep --untracked

This allows for new/moved files to be searched, as long as they don't
match the .gitignore files.
parent 559a94bf
......@@ -611,6 +611,9 @@ gbp_grep_model_create_launcher (GbpGrepModel *self)
if (!self->recursive)
ide_subprocess_launcher_push_argv (launcher, "--max-depth=0");
/* Allow files that are untracked, but not ignored */
ide_subprocess_launcher_push_argv (launcher, "--untracked");
ide_subprocess_launcher_push_argv (launcher, "-E");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment