Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin: convert textconv_object to use struct object_id
[gitweb.git]
/
builtin
/
fsck.c
diff --git
a/builtin/fsck.c
b/builtin/fsck.c
index 2de272ea3659411b58d38d703a48790d55d6a12b..f604adff7e89aebde325a6cc5649afb38f69fd8d 100644
(file)
--- a/
builtin/fsck.c
+++ b/
builtin/fsck.c
@@
-722,7
+722,7
@@
int cmd_fsck(int argc, const char **argv, const char *prefix)
mode = active_cache[i]->ce_mode;
if (S_ISGITLINK(mode))
continue;
- blob = lookup_blob(active_cache[i]->
sha1
);
+ blob = lookup_blob(active_cache[i]->
oid.hash
);
if (!blob)
continue;
obj = &blob->object;