Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin rebase: support --force-rebase
[gitweb.git]
/
builtin
/
unpack-objects.c
diff --git
a/builtin/unpack-objects.c
b/builtin/unpack-objects.c
index 75d1d5ea0b8417b5842257b08d320868c6880764..716408e3a9db7499e338905b68444c7dc0a3149f 100644
(file)
--- a/
builtin/unpack-objects.c
+++ b/
builtin/unpack-objects.c
@@
-254,7
+254,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);
+ blob = lookup_blob(
the_repository,
&obj_list[nr].oid);
if (blob)
blob->object.flags |= FLAG_WRITTEN;
else