Skip to content

Commit 0ffe53b

Browse files
committed
Use user supplied origin name for extension.partialcone instead of
hardcoded value. Signed-off-by: Xin Li <[email protected]>
1 parent aa25c82 commit 0ffe53b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/clone.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
12201220
remote_head_points_at, &branch_top);
12211221

12221222
if (filter_options.choice)
1223-
partial_clone_register("origin", &filter_options);
1223+
partial_clone_register(option_origin, &filter_options);
12241224

12251225
if (is_local)
12261226
clone_local(path, git_dir);

0 commit comments

Comments
 (0)