diff options
Diffstat (limited to 'rev-tree.c')
-rw-r--r-- | rev-tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |