Creating and Loading repo fails

15 views
Skip to first unread message

stefan.sedich

unread,
Apr 12, 2011, 2:09:37 AM4/12/11
to GitSharp
Running version 0.3 the following fails:

var cmd = new InitCommand { GitDirectory = "c:\\Git\\foo.git", Quiet =
false, Bare = false };
cmd.Execute();

var repo = new Repository("c:\\Git\\foo.git");


With the error "System.IO.IOException : Unknown repository format "";
expected "0"."


Am I doing something stupid?



Thanks
Stefan

Stefan Sedich

unread,
Apr 12, 2011, 3:48:08 AM4/12/11
to gits...@googlegroups.com
Got trunk and it runs fine.


Thanks

Sent from my iPhone

> --
> For infos about GitSharp visit http://www.eqqon.com/index.php/GitSharp
> To join this group visit http://groups.google.com/group/gitsharp

Reply all
Reply to author
Forward
0 new messages