Skip to content

Commit d3c9634

Browse files
dschogitster
authored andcommitted
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>
1 parent b6c2991 commit d3c9634

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

git-svn.perl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ sub do_git_init_db {
328328
command_noisy(@init_db);
329329
$_repository = Git->repository(Repository => ".git");
330330
}
331+
command_noisy('config', 'core.autocrlf', 'false');
331332
my $set;
332333
my $pfx = "svn-remote.$Git::SVN::default_repo_id";
333334
foreach my $i (keys %icv) {

0 commit comments

Comments
 (0)