We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80742e1 commit 527be0aCopy full SHA for 527be0a
src/libgit2/clone.c
@@ -423,7 +423,7 @@ static int clone_into(
423
fetch_opts.download_tags = GIT_REMOTE_DOWNLOAD_TAGS_ALL;
424
425
if ((error = git_remote_connect_options__from_fetch_opts(&connect_opts, remote, &fetch_opts)) < 0)
426
- return error;
+ goto cleanup;
427
428
git_str_printf(&reflog_message, "clone: from %s", git_remote_url(remote));
429
0 commit comments