Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
parse-options: option to let --git-completion-helper show negative form
[gitweb.git]
/
builtin
/
fsck.c
diff --git
a/builtin/fsck.c
b/builtin/fsck.c
index 087360a6757c607c4b38cce5fafad3bbb0822fc0..9d59d7d5a215379b221b02ac34277b542e757df1 100644
(file)
--- a/
builtin/fsck.c
+++ b/
builtin/fsck.c
@@
-67,7
+67,8
@@
static const char *printable_type(struct object *obj)
const char *ret;
if (obj->type == OBJ_NONE) {
- enum object_type type = oid_object_info(&obj->oid, NULL);
+ enum object_type type = oid_object_info(the_repository,
+ &obj->oid, NULL);
if (type > 0)
object_as_type(obj, type, 0);
}