fetcher git: override global git crlf settings. prevents some sync loops
This commit is contained in:
parent
d4b34049b1
commit
2f6431f193
|
@ -293,8 +293,11 @@ namespace SparkleLib.Git {
|
||||||
string n = Environment.NewLine;
|
string n = Environment.NewLine;
|
||||||
|
|
||||||
config = config.Replace ("[core]" + n,
|
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 +
|
"\tpackedGitLimit = 128m" + n +
|
||||||
|
"\tautocrlf = false" + n +
|
||||||
|
"\tsafecrlf = false" + n +
|
||||||
"\tpackedGitWindowSize = 128m" + n);
|
"\tpackedGitWindowSize = 128m" + n);
|
||||||
|
|
||||||
config = config.Replace ("[remote \"origin\"]" + n,
|
config = config.Replace ("[remote \"origin\"]" + n,
|
||||||
|
|
Loading…
Reference in a new issue