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
b880297
..
102fa6e
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];
}