git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/3] Revert "git-svn: always initialize with core.autocrlf=false"

From
Erik Faye-Lund <kusmabite@googlemail.com>
Date
Mar 3, 2010, 20:10 UTC
Message-ID
<1267647023-2604-3-git-send-email-kusmabite@gmail.com>
In-Reply-To
<1267647023-2604-1-git-send-email-kusmabite@gmail.com>

git-svn rebase used to have issues with CRLF conversion. Since these issues have been fixed, we can safely revert the work-around that disables CRLF conversion.

This reverts commit d3c9634eacdcaa71cbd69a160e6f4e80ddb7ab63.
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
---

git-svn dcommit uses diff-tree (which does not apply CRLF conversion) to generate SVN commits, so there never were any CRLF conversion issues when commiting in the first place.

 git-svn.perl |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/git-svn.perl b/git-svn.perl
index b7c03b6..b8a3fc2 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -369,7 +369,6 @@ 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) {
-- 
1.7.0.1.141.gc5984a
Previous: Erik Faye-LundNext: Erik Faye-Lund
Message 3 of 9 in “hash-object: support --stdin-paths with --no-filters”
  1. 1/3 hash-object: support --stdin-paths with --no-filtersErik Faye-Lund, Mar 3, 2010
  2. 2/3 git-svn: support fetch with autocrlf onErik Faye-Lund, Mar 3, 2010
  3. 3/3 Revert "git-svn: always initialize with core.autocrlf=false"Erik Faye-Lund, Mar 3, 2010
  4. Erik Faye-LundMar 3, 2010
  5. Eric WongMar 4, 2010
  6. Erik Faye-LundMar 4, 2010
  7. Dmitry PotapovMar 4, 2010
  8. Junio C HamanoMar 4, 2010
  9. Eric WongMar 5, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.