Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fast-import: convert internal structs to struct object_id
[gitweb.git]
/
revision.c
diff --git
a/revision.c
b/revision.c
index 7ff61ff5f73db07af522ac57d62ed9e699aedf72..2b56c3baf07980a9ee50eac0394bc64c83c5508c 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-1249,7
+1249,7
@@
static void add_cache_tree(struct cache_tree *it, struct rev_info *revs,
int i;
if (it->entry_count >= 0) {
- struct tree *tree = lookup_tree(it->
sha1
);
+ struct tree *tree = lookup_tree(it->
oid.hash
);
add_pending_object_with_path(revs, &tree->object, "",
040000, path->buf);
}