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 committed by Hylke Bons
parent 3bd3403c2c
commit a88eedf1bc

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 ();