-
-
Notifications
You must be signed in to change notification settings - Fork 576
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/LocateSSHCommands
- Loading branch information
Showing
5 changed files
with
43 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -176,6 +176,13 @@ public override string Complete (StorageType selected_storage_type) | |
File.WriteAllText (identifier_path, identifier); | ||
File.SetAttributes (identifier_path, FileAttributes.Hidden); | ||
|
||
// The repo is freshly cloned and no config user.name is set yet, so temporary use SparkleShare | ||
// to avoid error 'TELL ME WHO YOU ARE', later on this will be handled in Commit of Git.Repository | ||
var git_config = new GitCommand(TargetFolder, "config user.name \"SparkleShare\""); | ||
git_config.StartAndWaitForExit(); | ||
git_config = new GitCommand(TargetFolder, "config user.email \"[email protected]\""); | ||
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, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters