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 26a3fc3..d290074 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]);
        }