patch 8.2.2430: :vimgrep expands wildcards twice
Problem: :vimgrep expands wildcards twice.
Solution: Do not expand wildcards a second time.
diff --git a/src/quickfix.c b/src/quickfix.c
index f22d2bf..742a1ee 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -6053,7 +6053,7 @@
return FAIL;
}
- // parse the list of arguments
+ // Parse the list of arguments, wildcards have already been expanded.
if (get_arglist_exp(p, &args->fcount, &args->fnames, TRUE) == FAIL)
return FAIL;
if (args->fcount == 0)