X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=contrib%2Fexamples%2Fgit-svnimport.perl;h=b09ff8f12f7e5b5b6faeaf857d7c61973de8590e;hb=f7d59e256884f63adeed9a1f3376a386a28681ff;hp=ead4c04d3f7ca64ed55ff605d7ee8087189a2226;hpb=b69fb7866b24b205a876a6a0b256c786a58419c7;p=git.git diff --git a/contrib/examples/git-svnimport.perl b/contrib/examples/git-svnimport.perl index ead4c04d3..b09ff8f12 100755 --- a/contrib/examples/git-svnimport.perl +++ b/contrib/examples/git-svnimport.perl @@ -289,7 +289,7 @@ my $current_rev = $opt_s || 1; unless(-d $git_dir) { system("git init"); die "Cannot init the GIT db at $git_tree: $?\n" if $?; - system("git read-tree"); + system("git read-tree --empty"); die "Cannot init an empty tree: $?\n" if $?; $last_branch = $opt_o;