Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_file: add repository argument to prepare_alt_odb
[gitweb.git]
/
builtin
/
fsck.c
diff --git
a/builtin/fsck.c
b/builtin/fsck.c
index 77074072754240c0d9508ffc68f2deb77fd2b3c1..3ef25fab9712a12edd70700b941dd62203de9d4a 100644
(file)
--- a/
builtin/fsck.c
+++ b/
builtin/fsck.c
@@
-719,7
+719,7
@@
int cmd_fsck(int argc, const char **argv, const char *prefix)
fsck_object_dir(get_object_directory());
- prepare_alt_odb();
+ prepare_alt_odb(
the_repository
);
alt_odb_list = the_repository->objects->alt_odb_list;
for (alt = alt_odb_list; alt; alt = alt->next)
fsck_object_dir(alt->path);