Merge branch 'jk/gettext-poison'
[gitweb.git] / builtin / fetch-pack.c
index 15eeed7b177ace3baa21076eb0a2d493ef1caa76..a7bc1366ab375765c41014640743ef9d77c84c42 100644 (file)
@@ -153,6 +153,14 @@ int cmd_fetch_pack(int argc, const char **argv, const char *prefix)
                        args.no_dependents = 1;
                        continue;
                }
+               if (skip_prefix(arg, ("--" CL_ARG__FILTER "="), &arg)) {
+                       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)