Fix for issue #1958

This commit is contained in:
Andre Spahlinger 2021-10-22 23:22:53 +02:00
parent 85f3d449be
commit 85a65da878

View file

@ -176,6 +176,11 @@ namespace Sparkles.Git {
File.WriteAllText (identifier_path, identifier);
File.SetAttributes (identifier_path, FileAttributes.Hidden);
var git_config = new GitCommand(TargetFolder, "config user.name \"SparkleShare\"");
git_config.StartAndWaitForExit();
git_config = new GitCommand(TargetFolder, "config user.email \"info@sparkleshare.org\"");
git_config.StartAndWaitForExit();
// We can't do the "commit --all" shortcut because it doesn't add untracked files
var git_add = new GitCommand (TargetFolder, "add .sparkleshare");
var git_commit = new GitCommand (TargetFolder,