Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
alloc: add repository argument to alloc_tag_node
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index 9b56fa9b819fa404bf0528aeb9d84de1cf618ec7..27c88ba7689f781c79f2026aabca00395637b27e 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-302,7
+302,7
@@
enum peel_status peel_object(const struct object_id *name, struct object_id *oid
struct object *o = lookup_unknown_object(name->hash);
if (o->type == OBJ_NONE) {
- int type = oid_object_info(name, NULL);
+ int type = oid_object_info(
the_repository,
name, NULL);
if (type < 0 || !object_as_type(o, type, 0))
return PEEL_INVALID;
}