summaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2009-04-09 13:29:57 +0200
committerJunio C Hamano <gitster@pobox.com>2009-04-11 22:21:59 -0700
commitd3c9634eacdcaa71cbd69a160e6f4e80ddb7ab63 (patch)
tree388759ddcdcb021ee4e60a5bbcad799acce176bd /git-svn.perl
parentb6c29915d2efd0d2cb56eca88bd8e6b4999546dc (diff)
downloadgit-d3c9634eacdcaa71cbd69a160e6f4e80ddb7ab63.tar.gz
git-svn: always initialize with core.autocrlf=false
It has been reported time and time again in relation to msysGit that git-svn does not work well when core.autocrlf has any value other than 'false'. So let's make it so by default. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Acked-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.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-svn.perl b/git-svn.perl
index bc3ba064e4..c5965c9aaf 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -328,6 +328,7 @@ sub do_git_init_db {
command_noisy(@init_db);
$_repository = Git->repository(Repository => ".git");
}
+ command_noisy('config', 'core.autocrlf', 'false');
my $set;
my $pfx = "svn-remote.$Git::SVN::default_repo_id";
foreach my $i (keys %icv) {