cherry-pick/revert: add --skip option
[gitweb.git] / builtin / clone.c
index bb864d2101c2158fe049ce7c4cb2665fabbc0328..5b9ebe994761bd7b45209037b6eab63e28a78efb 100644 (file)
@@ -1227,7 +1227,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);