builtin-grep: typofix
authorJunio C Hamano <junkio@cox.net>
Wed, 10 May 2006 01:15:21 +0000 (18:15 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 10 May 2006 01:15:21 +0000 (18:15 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
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]);
        }