fetcher git: Don't add user info to initial commit
This commit is contained in:
parent
769eb45489
commit
b70b40a8ff
|
@ -178,7 +178,10 @@ namespace Sparkles.Git {
|
||||||
File.WriteAllText (identifier_path, identifier);
|
File.WriteAllText (identifier_path, identifier);
|
||||||
|
|
||||||
var git_add = new GitCommand (TargetFolder, "add .sparkleshare");
|
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 <info@sparkleshare.org>"));
|
||||||
|
|
||||||
// We can't do the "commit --all" shortcut because it doesn't add untracked files
|
// We can't do the "commit --all" shortcut because it doesn't add untracked files
|
||||||
git_add.StartAndWaitForExit ();
|
git_add.StartAndWaitForExit ();
|
||||||
|
|
Loading…
Reference in a new issue