Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pack: convert struct pack_idx_entry to struct object_id
[gitweb.git]
/
tree.c
diff --git
a/tree.c
b/tree.c
index ce345c551117215882062f99c931b2182a63931a..33fa7ee7176474d4a3c218a76a7b238a86f720d6 100644
(file)
--- a/
tree.c
+++ b/
tree.c
@@
-91,7
+91,7
@@
static int read_tree_1(struct tree *tree, struct strbuf *base,
else if (S_ISGITLINK(entry.mode)) {
struct commit *commit;
- commit = lookup_commit(entry.oid
->hash
);
+ commit = lookup_commit(entry.oid);
if (!commit)
die("Commit %s in submodule path %s%s not found",
oid_to_hex(entry.oid),