Calin
Calin
I'm having the same issue. Have you found any solution?
It is supposed to be like this, because it is now using the Go transport. See https://github.com/libgit2/git2go/commit/b983e1daebf528443e2a3954cd595fa3664ec93f and https://github.com/libgit2/git2go/commit/70e5e419cf0cab31553b106267a0296f3cd672d9.
I'm also using git2go inside a VirtualBox VM with Docker on Windows 10. `Remote.Fetch(()` returns the error: ``` Failed to mmap. Could not write data: Invalid argument ``` I'm using...
See [Can I do git-clean with libgit2?](http://stackoverflow.com/questions/25205592/can-i-do-git-clean-with-libgit2) on SO. Based on that answer: > libgit2 doesn't implement this itself. It's a porcelain command, which deals with interaction with the user....
Indeed the only change is the generator, however it took me a while to figure out all the bits and pieces to be able to compile it on Windows. Also...
#### UPDATE 2 If specifying `-lws2_32` to CGO_LDFLAGS as @vadimi said, the errors below disappear, instead these errors pop up: ``` ... C:/Users/Calin/go/src/github.com/libgit2/git2go/vendor/libgit2/build/libgit2.a(winhttp.c.obj):winhttp.c:(.text+0x212a): undefined reference to `WinHttpQueryOption' C:/Users/Calin/go/src/github.com/libgit2/git2go/vendor/libgit2/build/libgit2.a(winhttp.c.obj):winhttp.c:(.text+0x217f): undefined reference...
Thanks, I ended up compiling it using `-G"MinGW Makefiles"` into a .dll and it did install. However using git2go in a program is still not working, it crashes pretty bad...
That worked, thanks!!! Should be interesting to see if this can be fixed before Go 1.5. Till' then, I guess this solution would work.
Anyone having any luck compiling git2go as a static library on Windows amd64 with go 1.5? I'm trying the steps from above but with the same results. ``` $ go...
I was able to successfully build on Windows from a MinGW Shell installed using MSYS2. See PR #307