Go back to the v0.26 libgit2 release

Newer commits have changed the build scripts such that the HTTP parser is not
included in the static library.

This also reverts commit ecf4f7a137.
This commit is contained in:
Carlos Martín Nieto 2017-09-03 19:49:30 +02:00
parent ecf4f7a137
commit 0ebe7220d7
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ func (v *Repository) PatchFromBuffers(oldPath, newPath string, oldBuf, newBuf []
var patchPtr *C.git_patch
oldPtr := toPointer(oldBuf)
newPtr := toPointer(newBuf)
newPtr := (*C.char)(toPointer(newBuf))
cOldPath := C.CString(oldPath)
defer C.free(unsafe.Pointer(cOldPath))

2
vendor/libgit2 vendored

@ -1 +1 @@
Subproject commit 3c21645360a0b06d6ed5f028e9517d65f8e11bc1
Subproject commit 15e119375018fba121cf58e02a9f17fe22df0df8