Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_file: convert read_object_with_reference to object_id
[gitweb.git]
/
builtin
/
pack-objects.c
diff --git
a/builtin/pack-objects.c
b/builtin/pack-objects.c
index 66bc0057fe697fd7db15009f389a28a0ee319d62..a0ccbf6699fdf594e48ab60ebe819efaf0983ffc 100644
(file)
--- a/
builtin/pack-objects.c
+++ b/
builtin/pack-objects.c
@@
-1351,7
+1351,7
@@
static void add_preferred_base(struct object_id *oid)
if (window <= num_preferred_base++)
return;
- data = read_object_with_reference(oid
->hash, tree_type, &size, tree_oid.hash
);
+ data = read_object_with_reference(oid
, tree_type, &size, &tree_oid
);
if (!data)
return;