Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
packfile: add repository argument to unpack_entry
[gitweb.git]
/
submodule.c
diff --git
a/submodule.c
b/submodule.c
index 9a50168b2375d9cac306a22c8be4559dde114d95..bb133e9b932dea4d151afc40eaea0bd6bfed56e2 100644
(file)
--- a/
submodule.c
+++ b/
submodule.c
@@
-818,7
+818,7
@@
static int check_has_commit(const struct object_id *oid, void *data)
{
struct has_commit_data *cb = data;
- enum object_type type = oid_object_info(oid, NULL);
+ enum object_type type = oid_object_info(
the_repository,
oid, NULL);
switch (type) {
case OBJ_COMMIT: