From f1bafe1834503ac10e1827a627eeed31711e40e6 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 1 May 2011 17:25:42 +0200 Subject: [PATCH] fetcher: ignore file permission changes in new checkouts --- SparkleLib/SparkleFetcher.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SparkleLib/SparkleFetcher.cs b/SparkleLib/SparkleFetcher.cs index 3af82401..e4f496fd 100644 --- a/SparkleLib/SparkleFetcher.cs +++ b/SparkleLib/SparkleFetcher.cs @@ -99,6 +99,11 @@ namespace SparkleLib { // Be case sensitive explicitly to work on Mac config = config.Replace ("ignorecase = true", "ignorecase = false"); + + // Ignore permission changes + config = config.Replace ("filemode = true", "filemode = false"); + + // Add user info config += Environment.NewLine + user_info; TextWriter writer = new StreamWriter (repo_config_file_path);