From b70b40a8ffeacc0bc21cbfb2368eee86459f5cb0 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 2 Feb 2017 22:09:03 +0000 Subject: [PATCH] fetcher git: Don't add user info to initial commit --- Sparkles/Git/GitFetcher.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Sparkles/Git/GitFetcher.cs b/Sparkles/Git/GitFetcher.cs index 76ddab98..10b44012 100644 --- a/Sparkles/Git/GitFetcher.cs +++ b/Sparkles/Git/GitFetcher.cs @@ -178,7 +178,10 @@ namespace Sparkles.Git { File.WriteAllText (identifier_path, identifier); var git_add = new GitCommand (TargetFolder, "add .sparkleshare"); - var git_commit = new GitCommand (TargetFolder, "commit --message=\"Initial commit by SparkleShare\""); + var git_commit = new GitCommand (TargetFolder, + string.Format ("commit --message=\"{0}\" --author=\"{1}\"", + "Set up SparkleShare project", + "SparkleShare ")); // We can't do the "commit --all" shortcut because it doesn't add untracked files git_add.StartAndWaitForExit ();