diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2009-04-09 13:29:57 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-11 22:21:59 -0700 |
commit | d3c9634eacdcaa71cbd69a160e6f4e80ddb7ab63 (patch) | |
tree | 388759ddcdcb021ee4e60a5bbcad799acce176bd /git-svn.perl | |
parent | b6c29915d2efd0d2cb56eca88bd8e6b4999546dc (diff) | |
download | git-d3c9634eacdcaa71cbd69a160e6f4e80ddb7ab63.tar.gz git-d3c9634eacdcaa71cbd69a160e6f4e80ddb7ab63.tar.xz |
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-x | git-svn.perl | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |