projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] git-fsck-cache: Gracefully handle non-commit IDs
[git.git]
/
rev-tree.c
diff --git
a/rev-tree.c
b/rev-tree.c
index
ebeceb0
..
03c900f
100644
(file)
--- 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;
}