Merge pull request #409 from libgit2/cmn/bumping

Bump libgit2 to c7c5f2c4ec
This commit is contained in:
Carlos Martín Nieto 2017-09-29 09:56:41 +02:00 committed by GitHub
commit b011f6b248
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 := (*C.char)(toPointer(newBuf))
newPtr := toPointer(newBuf)
cOldPath := C.CString(oldPath)
defer C.free(unsafe.Pointer(cOldPath))

2
vendor/libgit2 vendored

@ -1 +1 @@
Subproject commit 15e119375018fba121cf58e02a9f17fe22df0df8
Subproject commit c7c5f2c4ecc727ac555f51bd20353f7f3ae9c07a