Commit c62b5ca5 by Vicent Marti

clone: Anal as fuck

parent 8821c9aa
...@@ -427,8 +427,7 @@ static void normalize_options(git_clone_options *dst, const git_clone_options *s ...@@ -427,8 +427,7 @@ static void normalize_options(git_clone_options *dst, const git_clone_options *s
/* Provide defaults for null pointers */ /* Provide defaults for null pointers */
if (!dst->remote_name) dst->remote_name = "origin"; if (!dst->remote_name) dst->remote_name = "origin";
if (!dst->init_options) if (!dst->init_options) {
{
dst->init_options = initOptions; dst->init_options = initOptions;
initOptions->flags = GIT_REPOSITORY_INIT_MKPATH; initOptions->flags = GIT_REPOSITORY_INIT_MKPATH;
if (dst->bare) if (dst->bare)
......
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