Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'np/pack'
[gitweb.git]
/
builtin-fsck.c
diff --git
a/builtin-fsck.c
b/builtin-fsck.c
index 05d98d2cfc0c8ba5e38482a181fee8115e9bd640..f480e700e9607068a8d949a520b6760593a522f7 100644
(file)
--- a/
builtin-fsck.c
+++ b/
builtin-fsck.c
@@
-661,7
+661,7
@@
int cmd_fsck(int argc, char **argv, const char *prefix)
verify_pack(p, 0);
for (p = packed_git; p; p = p->next) {
- uint32_t i, num =
num_packed_objects(p)
;
+ uint32_t i, num =
p->num_objects
;
for (i = 0; i < num; i++)
fsck_sha1(nth_packed_object_sha1(p, i));
}