aboutsummaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-02-27 19:40:16 -0800
committerJunio C Hamano <gitster@pobox.com>2009-02-27 21:53:09 -0800
commit48679e5c2d059b9b198d6f414dd80aa921d23002 (patch)
tree1859f0a1ffb81e664087ee3a3f89bf2272351c87 /git-svn.perl
parent48fce9356531469b00bd0e1592d77e8b229316d0 (diff)
downloadgit-48679e5c2d059b9b198d6f414dd80aa921d23002.tar.gz
git-48679e5c2d059b9b198d6f414dd80aa921d23002.tar.xz
git-svn: disable broken symlink workaround by default
Even though this will break things for some extremely rare repositories used by broken Windows clients, it's probably not worth enabling this by default as it has negatively affected many more users than it has helped from what we've seen so far. The extremely rare repositories that have broken symlinks in them will be silently corrupted in import; but users can still reenable this option and restart the import. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl
index d967594ee..a676a4c78 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -3297,7 +3297,7 @@ sub new {
sub _mark_empty_symlinks {
my ($git_svn, $switch_path) = @_;
my $bool = Git::config_bool('svn.brokenSymlinkWorkaround');
- return {} if (defined($bool) && ! $bool);
+ return {} if (!defined($bool)) || (defined($bool) && ! $bool);
my %ret;
my ($rev, $cmt) = $git_svn->last_rev_commit;