From 94dfb7f2e38fde5014fe50f9e74bde7d2d264184 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 21 Apr 2005 09:58:24 -0700 Subject: Fix NSEC compile problem, and properly parse the rev-tree cmd line. The rev-tree thing just happened to work. It shouldn't have. --- rev-tree.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rev-tree.c') diff --git a/rev-tree.c b/rev-tree.c index ebeceb070..03c900f45 100644 --- a/rev-tree.c +++ b/rev-tree.c @@ -89,8 +89,7 @@ int main(int argc, char **argv) char *arg = argv[i]; if (!strcmp(arg, "--cache")) { - read_cache_file(argv[2]); - i++; + read_cache_file(argv[++i]); continue; } -- cgit v1.2.1