Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
daemon: support <directory> arguments again
[gitweb.git]
/
git-cvsimport.perl
diff --git
a/git-cvsimport.perl
b/git-cvsimport.perl
index 249aeaf17557c4b8f05fdd5f1df5c16d65f0f84c..d27abfe7f32ef47ee8b613293110147ca3006575 100755
(executable)
--- a/
git-cvsimport.perl
+++ b/
git-cvsimport.perl
@@
-612,7
+612,7
@@
sub munge_user_filename {
unless (-d $git_dir) {
system(qw(git init));
die "Cannot init the GIT db at $git_tree: $?\n" if $?;
- system(qw(git read-tree));
+ system(qw(git read-tree
--empty
));
die "Cannot init an empty tree: $?\n" if $?;
$last_branch = $opt_o;