Merge branch 'md/list-objects-filter-memfix' into maint
[gitweb.git] / builtin / clone.c
index 85b0d3155de0d9ee9257ac44acc699c004022836..356bae5ed72d2e510da08d8089fbdda607ba0e9f 100644 (file)
@@ -1220,7 +1220,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
                        remote_head_points_at, &branch_top);
 
        if (filter_options.choice)
-               partial_clone_register("origin", &filter_options);
+               partial_clone_register(option_origin, &filter_options);
 
        if (is_local)
                clone_local(path, git_dir);