Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Convert the verify_pack callback to struct object_id
[gitweb.git]
/
reachable.c
diff --git
a/reachable.c
b/reachable.c
index 8ea0bdd7c045002df53ad9098f88b8e55b3136c9..3bbc84417f47e5d5e872c2d1cc66f3b844a3f160 100644
(file)
--- a/
reachable.c
+++ b/
reachable.c
@@
-85,7
+85,7
@@
static void add_recent_object(const struct object_id *oid,
obj = parse_object_or_die(oid->hash, NULL);
break;
case OBJ_TREE:
- obj = (struct object *)lookup_tree(oid
->hash
);
+ obj = (struct object *)lookup_tree(oid);
break;
case OBJ_BLOB:
obj = (struct object *)lookup_blob(oid);