checkout: notice when the switched branch is behind or forked
[gitweb.git] / builtin-fsck.c
index 2a6e94deaf6b27f27ad7655ebf6072a05b25017c..6fc9525e0485f3dba00fa6bea8df1479221f0ce0 100644 (file)
@@ -765,7 +765,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);