mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
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>
This commit is contained in:
parent
b6c29915d2
commit
d3c9634eac
|
@ -328,6 +328,7 @@ sub do_git_init_db {
|
||||||
command_noisy(@init_db);
|
command_noisy(@init_db);
|
||||||
$_repository = Git->repository(Repository => ".git");
|
$_repository = Git->repository(Repository => ".git");
|
||||||
}
|
}
|
||||||
|
command_noisy('config', 'core.autocrlf', 'false');
|
||||||
my $set;
|
my $set;
|
||||||
my $pfx = "svn-remote.$Git::SVN::default_repo_id";
|
my $pfx = "svn-remote.$Git::SVN::default_repo_id";
|
||||||
foreach my $i (keys %icv) {
|
foreach my $i (keys %icv) {
|
||||||
|
|
Loading…
Reference in a new issue