Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tree-walk.c: remove the_repo from get_tree_entry()
[gitweb.git]
/
builtin
/
pack-objects.c
diff --git
a/builtin/pack-objects.c
b/builtin/pack-objects.c
index b2be8869c236378ca70517d2c7431a6993952a3c..a030c24a4a3f26c27ddd4ab9aa6c691bd72f33e2 100644
(file)
--- a/
builtin/pack-objects.c
+++ b/
builtin/pack-objects.c
@@
-1428,7
+1428,8
@@
static void add_preferred_base(struct object_id *oid)
if (window <= num_preferred_base++)
return;
- data = read_object_with_reference(oid, tree_type, &size, &tree_oid);
+ data = read_object_with_reference(the_repository, oid,
+ tree_type, &size, &tree_oid);
if (!data)
return;