From: Johannes Schindelin Date: Thu, 9 Apr 2009 11:29:57 +0000 (+0200) Subject: git-svn: always initialize with core.autocrlf=false X-Git-Tag: v1.6.3-rc0~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d3c9634e;p=git.git 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 Acked-by: Eric Wong Signed-off-by: Junio C Hamano --- diff --git a/git-svn.perl b/git-svn.perl index bc3ba064e..c5965c9aa 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) {