Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tree-walk: convert tree entry functions to object_id
[gitweb.git]
/
builtin
/
fsck.c
diff --git
a/builtin/fsck.c
b/builtin/fsck.c
index eae018e3fb06c1a9c1bd472fc077869aafbc5693..09225586835eb872ea0152018f1f85dc23f63710 100644
(file)
--- a/
builtin/fsck.c
+++ b/
builtin/fsck.c
@@
-65,7
+65,7
@@
static const char *printable_type(struct object *obj)
const char *ret;
if (obj->type == OBJ_NONE) {
- enum object_type type =
sha1_object_info(obj->oid.hash
, NULL);
+ enum object_type type =
oid_object_info(&obj->oid
, NULL);
if (type > 0)
object_as_type(obj, type, 0);
}