Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ab/fail-prereqs-in-test'
[gitweb.git]
/
builtin
/
unpack-objects.c
diff --git
a/builtin/unpack-objects.c
b/builtin/unpack-objects.c
index 80478808b3dcc7f98e5989140de1451783454c01..a87a4bfd2c557755cc0c49d28cf8597449e4d0b1 100644
(file)
--- a/
builtin/unpack-objects.c
+++ b/
builtin/unpack-objects.c
@@
-332,7
+332,7
@@
static int resolve_against_held(unsigned nr, const struct object_id *base,
{
struct object *obj;
struct obj_buffer *obj_buffer;
- obj = lookup_object(the_repository, base
->hash
);
+ obj = lookup_object(the_repository, base);
if (!obj)
return 0;
obj_buffer = lookup_object_buffer(obj);