mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 14:39:10 +00:00
clone: Anal as fuck
This commit is contained in:
parent
8821c9aa5b
commit
c62b5ca590
@ -427,8 +427,7 @@ static void normalize_options(git_clone_options *dst, const git_clone_options *s
|
||||
|
||||
/* Provide defaults for null pointers */
|
||||
if (!dst->remote_name) dst->remote_name = "origin";
|
||||
if (!dst->init_options)
|
||||
{
|
||||
if (!dst->init_options) {
|
||||
dst->init_options = initOptions;
|
||||
initOptions->flags = GIT_REPOSITORY_INIT_MKPATH;
|
||||
if (dst->bare)
|
||||
|
Loading…
Reference in New Issue
Block a user