Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_file: convert read_object_with_reference to object_id
[gitweb.git]
/
submodule.c
diff --git
a/submodule.c
b/submodule.c
index c210640d35694c770c6983f84c9cee02588f84ff..a05c544e8dad2600ba196e43fd58b953c6ba3d1b 100644
(file)
--- a/
submodule.c
+++ b/
submodule.c
@@
-817,7
+817,7
@@
static int check_has_commit(const struct object_id *oid, void *data)
{
struct has_commit_data *cb = data;
- enum object_type type =
sha1_object_info(oid->hash
, NULL);
+ enum object_type type =
oid_object_info(oid
, NULL);
switch (type) {
case OBJ_COMMIT: