git fetcher: Fix resolving conflicts in encrypted files

This commit is contained in:
Hylke Bons 2016-06-18 15:25:54 -07:00 committed by Hylke Bons
parent 75062a12f3
commit e5f109eddb

View file

@ -357,7 +357,7 @@ namespace Sparkles.Git {
// Pass all files through the encryption filter
// TODO: diff=encryption merge=encryption -text?
string git_attributes_file_path = Path.Combine (TargetFolder, ".git", "info", "attributes");
File.WriteAllText (git_attributes_file_path, "* filter=encryption diff=encryption merge=encryption -text");
File.WriteAllText (git_attributes_file_path, "* filter=encryption -diff merge=binary");
// Store the password
string password_file_path = Path.Combine (TargetFolder, ".git", "info", "encryption_password");