parse-opt: add PARSE_OPT_KEEP_ARGV0 parser option.
[gitweb.git] / builtin-fsck.c
index d545650c8ce51b0f1e7e3dd20c563e2cf4f89094..78a6e1ff7101f7bb616365e5d4c9d9cf7f8963ae 100644 (file)
@@ -632,7 +632,7 @@ int cmd_fsck(int argc, const char **argv, const char *prefix)
                        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);