Skip to content
Browse files

fixing crashing bug

  • Loading branch information...
1 parent d9cefc3 commit b48d9191bbe8360ef73ad8defc646b261fa4e901 @tiernano committed Jul 4, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 GitBuilder/Program.cs
View
4 GitBuilder/Program.cs
@@ -51,8 +51,8 @@ static void fw_Created(object sender, FileSystemEventArgs e)
{
Directory.CreateDirectory(tempDir);
}
- var repo = GitSharp.Git.Clone(new GitSharp.Commands.CloneCommand() { GitDirectory = repoistory, Directory = tempDir });
- GitSharp.Commands.CheckoutCommand checkout = new GitSharp.Commands.CheckoutCommand() { Arguments = new List<string>() { contents , "-f"} };
+ //var repo = GitSharp.Git.Clone(new GitSharp.Commands.CloneCommand() { GitDirectory = repoistory, Directory = tempDir });
+ GitSharp.Commands.CheckoutCommand checkout = new GitSharp.Commands.CheckoutCommand() { Arguments = new List<string>() { contents , "-f"}, Repository = Git.Clone(repoistory, tempDir) };
checkout.Execute();

0 comments on commit b48d919

Please sign in to comment.
Something went wrong with that request. Please try again.