Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
object: add repository argument to object_as_type
[gitweb.git]
/
builtin
/
fsck.c
diff --git
a/builtin/fsck.c
b/builtin/fsck.c
index 09cf5333444ff1fc3737e6e44d34714e5af3b76c..a906fe4a82b13427d51cbc564cef0242033be5db 100644
(file)
--- a/
builtin/fsck.c
+++ b/
builtin/fsck.c
@@
-70,7
+70,7
@@
static const char *printable_type(struct object *obj)
enum object_type type = oid_object_info(the_repository,
&obj->oid, NULL);
if (type > 0)
- object_as_type(obj, type, 0);
+ object_as_type(
the_repository,
obj, type, 0);
}
ret = type_name(obj->type);