Specify git checkout directory name

Guarantees that the checkout dir name is what we think.
This commit is contained in:
Sandy Armstrong 2010-06-11 10:59:23 -07:00
parent 581c4509fc
commit 7a6b37a02d

View file

@ -145,8 +145,9 @@ namespace SparkleShare {
// Clone into the system's temporary folder
Process.StartInfo.FileName = "git";
Process.StartInfo.WorkingDirectory = SparklePaths.SparkleTmpPath;
Process.StartInfo.Arguments = "clone ";
Process.StartInfo.Arguments += RepoRemoteUrl;
Process.StartInfo.Arguments = String.Format ("clone {0} {1}",
RepoRemoteUrl,
RepoName);
Process.WaitForExit ();
Process.Start ();