Skip to content

Commit c438d0b

Browse files
authored
Merge pull request libgit2#6444 from abizjak/main
2 parents 0384a40 + ae7a0a6 commit c438d0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libgit2/submodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ int git_submodule_update(git_submodule *sm, int init, git_submodule_update_optio
13931393
*/
13941394
clone_options.checkout_opts.checkout_strategy = GIT_CHECKOUT_NONE;
13951395

1396-
if ((error = git_clone(&sub_repo, submodule_url, sm->path, &clone_options)) < 0 ||
1396+
if ((error = git_clone__submodule(&sub_repo, submodule_url, sm->path, &clone_options)) < 0 ||
13971397
(error = git_repository_set_head_detached(sub_repo, git_submodule_index_id(sm))) < 0 ||
13981398
(error = git_checkout_head(sub_repo, &update_options.checkout_opts)) != 0)
13991399
goto done;

0 commit comments

Comments
 (0)