Commit 527be0a2 by Edward Thomson

clone: clean up options on failure

parent 80742e15
......@@ -423,7 +423,7 @@ static int clone_into(
fetch_opts.download_tags = GIT_REMOTE_DOWNLOAD_TAGS_ALL;
if ((error = git_remote_connect_options__from_fetch_opts(&connect_opts, remote, &fetch_opts)) < 0)
return error;
goto cleanup;
git_str_printf(&reflog_message, "clone: from %s", git_remote_url(remote));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment