diff options
Diffstat (limited to 'init-repository')
-rwxr-xr-x | init-repository | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init-repository b/init-repository index c6dd29b4..b0b65409 100755 --- a/init-repository +++ b/init-repository @@ -476,7 +476,8 @@ sub git_clone_one_submodule my $do_clone = (! -e "$submodule/.git"); if ($do_clone) { - $self->exe('git', 'clone', @reference_args, ($mirror ? $mirror : $url), $submodule); + $self->exe('git', 'clone', '--no-checkout', @reference_args, + ($mirror ? $mirror : $url), $submodule); } my $orig_cwd = getcwd(); |