Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'cb/leading-path-removal'
[gitweb.git]
/
contrib
/
examples
/
git-svnimport.perl
diff --git
a/contrib/examples/git-svnimport.perl
b/contrib/examples/git-svnimport.perl
index ead4c04d3f7ca64ed55ff605d7ee8087189a2226..b09ff8f12f7e5b5b6faeaf857d7c61973de8590e 100755
(executable)
--- a/
contrib/examples/git-svnimport.perl
+++ b/
contrib/examples/git-svnimport.perl
@@
-289,7
+289,7
@@
($$)
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;