summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-05-09 18:15:21 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-09 18:15:21 -0700
commitc39c4f4746ba4543b532594543d252e2bad62234 (patch)
tree18e9e16678997da069f66d5a436ba35049d16365
parentbuiltin-grep: tighten argument parsing. (diff)
downloadtgif-c39c4f4746ba4543b532594543d252e2bad62234.tar.xz
builtin-grep: typofix
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--builtin-grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-grep.c b/builtin-grep.c
index 26a3fc387f..d290074af2 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]);
}