summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-05-10 01:15:21 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-05-10 01:15:21 (GMT)
commitc39c4f4746ba4543b532594543d252e2bad62234 (patch)
tree18e9e16678997da069f66d5a436ba35049d16365
parent5acd64edec37a7d9783af1a2be99772d466e8f02 (diff)
downloadgit-c39c4f4746ba4543b532594543d252e2bad62234.zip
git-c39c4f4746ba4543b532594543d252e2bad62234.tar.gz
git-c39c4f4746ba4543b532594543d252e2bad62234.tar.bz2
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 26a3fc3..d290074 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]);
}