From 2f6431f193317f5300b7c49b1ee6d82b80153c3a Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 26 Apr 2012 18:32:00 +0100 Subject: [PATCH] fetcher git: override global git crlf settings. prevents some sync loops --- SparkleLib/Git/SparkleFetcherGit.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SparkleLib/Git/SparkleFetcherGit.cs b/SparkleLib/Git/SparkleFetcherGit.cs index cb54a4e2..11a9cea7 100755 --- a/SparkleLib/Git/SparkleFetcherGit.cs +++ b/SparkleLib/Git/SparkleFetcherGit.cs @@ -293,8 +293,11 @@ namespace SparkleLib.Git { string n = Environment.NewLine; config = config.Replace ("[core]" + n, - "[core]" + n + "\tquotepath = false" + n + // Show special characters in the logs + "[core]" + n + + "\tquotepath = false" + n + // Show special characters in the logs "\tpackedGitLimit = 128m" + n + + "\tautocrlf = false" + n + + "\tsafecrlf = false" + n + "\tpackedGitWindowSize = 128m" + n); config = config.Replace ("[remote \"origin\"]" + n,