diff --git a/builtin-fsck.c b/builtin-fsck.c
index d545650c8ce51b0f1e7e3dd20c563e2cf4f89094..b0f9648f862248d1b985f31406b8f3de26b47aff 100644 (file)
--- a/builtin-fsck.c
+++ b/builtin-fsck.c
prepare_packed_git();
for (p = packed_git; p; p = p->next)
/* verify gives error messages itself */
- verify_pack(p, 0);
+ verify_pack(p);
for (p = packed_git; p; p = p->next) {
uint32_t j, num;
struct blob *blob;
struct object *obj;
- mode = ntohl(active_cache[i]->ce_mode);
+ mode = active_cache[i]->ce_mode;
if (S_ISGITLINK(mode))
continue;
blob = lookup_blob(active_cache[i]->sha1);