]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin-grep.c
builtin-grep: typofix
[thirdparty/git.git] / builtin-grep.c
index 26a3fc387ff0def55ce29494840b4e3437f6bbc2..d290074af28e0eb84fac25011da67a5ddd02b798 100644 (file)
@@ -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]);
        }