projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ef378a
)
svn import: unlink downlaoded files
author
Matthias Urlichs
<smurf@smurf.noris.de>
Mon, 10 Oct 2005 16:54:53 +0000
(18:54 +0200)
committer
Matthias Urlichs
<smurf@smurf.noris.de>
Mon, 10 Oct 2005 16:54:53 +0000
(18:54 +0200)
Actually removing the files that have been checked out of SVN,
after checking them into git of course, is a good idea...
Signed-Off-By: Matthias Urlichs <smurf@smurf.noris.de>
git-svnimport.perl
patch
|
blob
|
history
diff --git
a/git-svnimport.perl
b/git-svnimport.perl
index b880297e0c3fdb5778f66311f6eef89c6dd16ed7..102fa6e33964794a62861e27b0bc5cb1de72a2b6 100755
(executable)
--- a/
git-svnimport.perl
+++ b/
git-svnimport.perl
@@
-296,6
+296,7
@@
sub get_file($$$) {
my $sha = <$F>;
chomp $sha;
close $F;
+ unlink $name;
my $mode = "0644"; # SV does not seem to store any file modes
return [$mode, $sha, $path];
}