{"thread":{"id":"18801","subject":"[PATCH] git-svn: always initialize with core.autocrlf=false","startedAt":"2009-04-09T11:29:57Z","lastAt":"2009-04-09T18:30:19Z","messageCount":4,"participants":["Johannes Schindelin","Eric Wong","Ferry Huberts (Pelagic)"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"110912","messageId":"560e98ae1d5350c6ff8db56d41089900dbaab08a.1239276588u.git.johannes.schindelin@gmx.de","threadId":"18801","inReplyTo":"cover.1239276588u.git.johannes.schindelin@gmx.de","subject":"[PATCH] git-svn: always initialize with core.autocrlf=false","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2009-04-09T11:29:57Z","receivedAt":"2009-04-09T11:29:57Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"It has been reported time and time again in relation to msysGit that\ngit-svn does not work well when core.autocrlf has any value other than\n'false'.  So let's make it so by default.\n\nSigned-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>\n---\n git-svn.perl |    1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)\n\ndiff --git a/git-svn.perl b/git-svn.perl\nindex 8be6be0..d4e8fc8 100755\n--- a/git-svn.perl\n+++ b/git-svn.perl\n@@ -325,6 +325,7 @@ sub do_git_init_db {\n \t\tcommand_noisy(@init_db);\n \t\t$_repository = Git->repository(Repository => \".git\");\n \t}\n+\tcommand_noisy('config', 'core.autocrlf', 'false');\n \tmy $set;\n \tmy $pfx = \"svn-remote.$Git::SVN::default_repo_id\";\n \tforeach my $i (keys %icv) {\n-- \n1.6.2.1.613.g25746\n"},{"id":"110930","messageId":"20090409165920.GA6311@dcvr.yhbt.net","threadId":"18801","inReplyTo":"560e98ae1d5350c6ff8db56d41089900dbaab08a.1239276588u.git.johannes.schindelin@gmx.de","subject":"Re: [PATCH] git-svn: always initialize with core.autocrlf=false","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2009-04-09T16:59:20Z","receivedAt":"2009-04-09T16:59:20Z","isPatch":true,"sender":{"key":"e@80x24.org","avatar":null},"body":"Johannes Schindelin <johannes.schindelin@gmx.de> wrote:\n> It has been reported time and time again in relation to msysGit that\n> git-svn does not work well when core.autocrlf has any value other than\n> 'false'.  So let's make it so by default.\n> \n> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>\n\nAcked-by: Eric Wong <normalperson@yhbt.net>\n\n> ---\n>  git-svn.perl |    1 +\n>  1 files changed, 1 insertions(+), 0 deletions(-)\n> \n> diff --git a/git-svn.perl b/git-svn.perl\n> index 8be6be0..d4e8fc8 100755\n> --- a/git-svn.perl\n> +++ b/git-svn.perl\n> @@ -325,6 +325,7 @@ sub do_git_init_db {\n>  \t\tcommand_noisy(@init_db);\n>  \t\t$_repository = Git->repository(Repository => \".git\");\n>  \t}\n> +\tcommand_noisy('config', 'core.autocrlf', 'false');\n>  \tmy $set;\n>  \tmy $pfx = \"svn-remote.$Git::SVN::default_repo_id\";\n>  \tforeach my $i (keys %icv) {\n> -- \n> 1.6.2.1.613.g25746\n\n-- \nEric Wong\n"},{"id":"110932","messageId":"49DE2E99.9060804@pelagic.nl","threadId":"18801","inReplyTo":"20090409165920.GA6311@dcvr.yhbt.net","subject":"Re: [PATCH] git-svn: always initialize with core.autocrlf=false","fromName":"Ferry Huberts (Pelagic)","fromEmail":"ferry.huberts@pelagic.nl","sentAt":"2009-04-09T17:21:29Z","receivedAt":"2009-04-09T17:21:29Z","isPatch":true,"sender":{"key":"ferry.huberts@pelagic.nl","avatar":"https://gravatar.com/avatar/9f63c0289ad23cbdef0f7609a0af85ff0f4b3babfd066de9ff58f62d48cfd6f2?d=mp&s=160"},"body":"Eric Wong wrote:\n> Johannes Schindelin <johannes.schindelin@gmx.de> wrote:\n>> It has been reported time and time again in relation to msysGit that\n>> git-svn does not work well when core.autocrlf has any value other than\n>> 'false'.  So let's make it so by default.\n>>\n>> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>\n> \n> Acked-by: Eric Wong <normalperson@yhbt.net>\n> \n>> ---\n>>  git-svn.perl |    1 +\n>>  1 files changed, 1 insertions(+), 0 deletions(-)\n>>\n>> diff --git a/git-svn.perl b/git-svn.perl\n>> index 8be6be0..d4e8fc8 100755\n>> --- a/git-svn.perl\n>> +++ b/git-svn.perl\n>> @@ -325,6 +325,7 @@ sub do_git_init_db {\n>>  \t\tcommand_noisy(@init_db);\n>>  \t\t$_repository = Git->repository(Repository => \".git\");\n>>  \t}\n>> +\tcommand_noisy('config', 'core.autocrlf', 'false');\n>>  \tmy $set;\n>>  \tmy $pfx = \"svn-remote.$Git::SVN::default_repo_id\";\n>>  \tforeach my $i (keys %icv) {\n>> -- \n>> 1.6.2.1.613.g25746\n> \nfunny that this kind of seems to get through while my suggestion (and\nproff by tests) to do the same for the cvs-import stuff resulted in\nhefty discussions and no consensus on what to do, the result of which is\nto do nothing. i guess i couldn't make myself clear enough?\n"},{"id":"110943","messageId":"alpine.DEB.1.00.0904092029490.10279@pacific.mpi-cbg.de","threadId":"18801","inReplyTo":"49DE2E99.9060804@pelagic.nl","subject":"Re: [PATCH] git-svn: always initialize with core.autocrlf=false","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2009-04-09T18:30:19Z","receivedAt":"2009-04-09T18:30:19Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Thu, 9 Apr 2009, Ferry Huberts (Pelagic) wrote:\n\n> Eric Wong wrote:\n> > Johannes Schindelin <johannes.schindelin@gmx.de> wrote:\n> >> It has been reported time and time again in relation to msysGit that\n> >> git-svn does not work well when core.autocrlf has any value other than\n> >> 'false'.  So let's make it so by default.\n> >>\n> >> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>\n> > \n> > Acked-by: Eric Wong <normalperson@yhbt.net>\n> > \n> >> ---\n> >>  git-svn.perl |    1 +\n> >>  1 files changed, 1 insertions(+), 0 deletions(-)\n> >>\n> >> diff --git a/git-svn.perl b/git-svn.perl\n> >> index 8be6be0..d4e8fc8 100755\n> >> --- a/git-svn.perl\n> >> +++ b/git-svn.perl\n> >> @@ -325,6 +325,7 @@ sub do_git_init_db {\n> >>  \t\tcommand_noisy(@init_db);\n> >>  \t\t$_repository = Git->repository(Repository => \".git\");\n> >>  \t}\n> >> +\tcommand_noisy('config', 'core.autocrlf', 'false');\n> >>  \tmy $set;\n> >>  \tmy $pfx = \"svn-remote.$Git::SVN::default_repo_id\";\n> >>  \tforeach my $i (keys %icv) {\n> >> -- \n> >> 1.6.2.1.613.g25746\n> > \n> funny that this kind of seems to get through while my suggestion (and\n> proff by tests) to do the same for the cvs-import stuff resulted in\n> hefty discussions and no consensus on what to do, the result of which is\n> to do nothing. i guess i couldn't make myself clear enough?\n\nActually, I was very much in favor of it.  Care to resend, for our \npleasure, pretty please?\n\nThanks,\nDscho\n"}]}