diff --git a/SparkleLib/Git/SparkleFetcherGit.cs b/SparkleLib/Git/SparkleFetcherGit.cs index c1c7e92e..8d066664 100755 --- a/SparkleLib/Git/SparkleFetcherGit.cs +++ b/SparkleLib/Git/SparkleFetcherGit.cs @@ -332,11 +332,7 @@ namespace SparkleLib.Git { string [] settings = new string [] { "core.bigFileThreshold 1024g", "filter.bin.clean \"git bin clean %f\"", - "filter.bin.smudge \"git bin smudge\"", - "git-bin.chunkSize 1m", - "git-bin.s3bucket \"your bucket name\"", - "git-bin.s3key \"your key\"", - "git-bin.s3secretKey \"your secret key\"" + "filter.bin.smudge \"git bin smudge\"" }; foreach (string setting in settings) { diff --git a/SparkleLib/Git/SparkleRepoGit.cs b/SparkleLib/Git/SparkleRepoGit.cs index 47fa6cbb..78b9e02a 100644 --- a/SparkleLib/Git/SparkleRepoGit.cs +++ b/SparkleLib/Git/SparkleRepoGit.cs @@ -102,10 +102,10 @@ namespace SparkleLib.Git { git = new SparkleGit (LocalPath, "config filter.bin.smudge \"git bin smudge\""); git.StartAndWaitForExit (); - git = new SparkleGit (LocalPath, "config git-bin.sshUrl \"" + RemoteUrl + "\""); + git = new SparkleGit (LocalPath, "config git-bin.sftpUrl \"" + RemoteUrl + "\""); git.StartAndWaitForExit (); - git = new SparkleGit (LocalPath, "config git-bin.sshPrivateKeyFile \"" + base.local_config.User.PrivateKeyFilePath + "\""); + git = new SparkleGit (LocalPath, "config git-bin.sftpPrivateKeyFile \"" + base.local_config.User.PrivateKeyFilePath + "\""); git.StartAndWaitForExit (); } @@ -237,8 +237,6 @@ namespace SparkleLib.Git { Commit (message); } - SparkleGit git; - if (this.use_git_bin) { SparkleGitBin git_bin = new SparkleGitBin (LocalPath, "push"); git_bin.StartAndWaitForExit (); @@ -246,8 +244,7 @@ namespace SparkleLib.Git { // TODO: Progress } - git = new SparkleGit (LocalPath, "push --progress \"" + RemoteUrl + "\" " + this.branch); - + SparkleGit git = new SparkleGit (LocalPath, "push --progress \"" + RemoteUrl + "\" " + this.branch); git.StartInfo.RedirectStandardError = true; git.Start ();