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]
/
fetch-pack.c
diff --git
a/fetch-pack.c
b/fetch-pack.c
index d455ef97af276fdf7e7dbd78e62eef9d110e2d97..7ec75f278291a5b975afd22890214fc98ee7cebe 100644
(file)
--- a/
fetch-pack.c
+++ b/
fetch-pack.c
@@
-483,7
+483,7
@@
static int find_common(struct fetch_pack_args *args,
case ACK_ready:
case ACK_continue: {
struct commit *commit =
- lookup_commit(result_oid
->hash
);
+ lookup_commit(result_oid);
if (!commit)
die(_("invalid commit %s"), oid_to_hex(result_oid));
if (args->stateless_rpc