Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Convert lookup_blob to struct object_id
[gitweb.git]
/
builtin
/
unpack-objects.c
diff --git
a/builtin/unpack-objects.c
b/builtin/unpack-objects.c
index 3dc5e569186636fbb4bb9508f5915b8ab951ca32..7d5efa2b3b5a7b83c7765765e360757d6f7d282a 100644
(file)
--- a/
builtin/unpack-objects.c
+++ b/
builtin/unpack-objects.c
@@
-249,7
+249,7
@@
static void write_object(unsigned nr, enum object_type type,
added_object(nr, type, buf, size);
free(buf);
- blob = lookup_blob(
obj_list[nr].oid.hash
);
+ blob = lookup_blob(
&obj_list[nr].oid
);
if (blob)
blob->object.flags |= FLAG_WRITTEN;
else