Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
apply.c: make init_apply_state() take a struct repository
[gitweb.git]
/
packfile.c
diff --git
a/packfile.c
b/packfile.c
index 7cd45aa4b2a0e098d597e4dea633d9b097b9b94c..6974903e581ae4517979ec083da844bde3034c8f 100644
(file)
--- a/
packfile.c
+++ b/
packfile.c
@@
-1934,7
+1934,7
@@
static int add_promisor_object(const struct object_id *oid,
void *set_)
{
struct oidset *set = set_;
- struct object *obj = parse_object(oid);
+ struct object *obj = parse_object(
the_repository,
oid);
if (!obj)
return 1;