Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
test-reach: test is_descendant_of
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index 3b4508a97aa23fa4a16bb64137b01c16b2b4b59d..fcfd3171e83a116d4ba2014b2f88622969f21a2d 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-305,7
+305,7
@@
enum peel_status peel_object(const struct object_id *name, struct object_id *oid
if (o->type == OBJ_NONE) {
int type = oid_object_info(the_repository, name, NULL);
- if (type < 0 || !object_as_type(o, type, 0))
+ if (type < 0 || !object_as_type(
the_repository,
o, type, 0))
return PEEL_INVALID;
}