Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
object: convert lookup_object() to use object_id
[gitweb.git]
/
upload-pack.c
diff --git
a/upload-pack.c
b/upload-pack.c
index ecc19641fe6790a221238edbe7c9b6c45e53ebe7..a0f170b5b5f10d7d4524ea871d8881c709b77d53 100644
(file)
--- a/
upload-pack.c
+++ b/
upload-pack.c
@@
-534,7
+534,7
@@
static int get_reachable_list(struct object_array *src,
if (parse_oid_hex(namebuf, &oid, &p) || *p != '\n')
break;
- o = lookup_object(the_repository,
oid.hash
);
+ o = lookup_object(the_repository,
&oid
);
if (o && o->type == OBJ_COMMIT) {
o->flags &= ~TMP_MARK;
}