Merge branch 'sm/mv-dry-run-update'
[gitweb.git] / builtin / fetch-pack.c
index 795780763abf61f406e12959497c1d9c29663e00..a7bc1366ab375765c41014640743ef9d77c84c42 100644 (file)
@@ -157,6 +157,10 @@ int cmd_fetch_pack(int argc, const char **argv, const char *prefix)
                        parse_list_objects_filter(&args.filter_options, arg);
                        continue;
                }
+               if (!strcmp(arg, ("--no-" CL_ARG__FILTER))) {
+                       list_objects_filter_set_no_filter(&args.filter_options);
+                       continue;
+               }
                usage(fetch_pack_usage);
        }
        if (deepen_not.nr)