X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=builtin-grep.c;h=d290074af28e0eb84fac25011da67a5ddd02b798;hb=c39c4f4746ba4543b532594543d252e2bad62234;hp=26a3fc387ff0def55ce29494840b4e3437f6bbc2;hpb=5acd64edec37a7d9783af1a2be99772d466e8f02;p=git.git diff --git a/builtin-grep.c b/builtin-grep.c index 26a3fc38..d290074a 100644 --- a/builtin-grep.c +++ b/builtin-grep.c @@ -701,7 +701,7 @@ int cmd_grep(int argc, const char **argv, char **envp) /* The rest are paths */ if (!seen_dashdash) { int j; - for (j = i; j < argc; i++) + for (j = i; j < argc; j++) verify_filename(prefix, argv[j]); }