Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
object: add repository argument to parse_object_buffer
[gitweb.git]
/
ref-filter.c
diff --git
a/ref-filter.c
b/ref-filter.c
index 044c28c515465db18501a0a7ca8970d3fd261ae1..ec9479af1f81d4f7295cf4c91368ddf0c3b957fb 100644
(file)
--- a/
ref-filter.c
+++ b/
ref-filter.c
@@
-807,7
+807,8
@@
static void *get_obj(const struct object_id *oid, struct object **obj, unsigned
void *buf = read_object_file(oid, &type, sz);
if (buf)
- *obj = parse_object_buffer(oid, type, *sz, buf, eaten);
+ *obj = parse_object_buffer(the_repository, oid, type, *sz,
+ buf, eaten);
else
*obj = NULL;
return buf;