Merge 'kn/for-each-tag-branch' into kn/for-each-tag
[gitweb.git] / builtin / unpack-objects.c
index 6d170402c1cac3ab479b60ab2089ddfce61388a7..7cc086f5f2fb4c4aa9a24a6b676f1bd6626f1b69 100644 (file)
@@ -530,6 +530,11 @@ int cmd_unpack_objects(int argc, const char **argv, const char *prefix)
                                strict = 1;
                                continue;
                        }
+                       if (skip_prefix(arg, "--strict=", &arg)) {
+                               strict = 1;
+                               fsck_set_msg_types(&fsck_options, arg);
+                               continue;
+                       }
                        if (starts_with(arg, "--pack_header=")) {
                                struct pack_header *hdr;
                                char *c;