Bump libgit2 to c7c5f2c4ec #409
2
patch.go
2
patch.go
|
@ -69,7 +69,7 @@ func (v *Repository) PatchFromBuffers(oldPath, newPath string, oldBuf, newBuf []
|
||||||
var patchPtr *C.git_patch
|
var patchPtr *C.git_patch
|
||||||
|
|
||||||
oldPtr := toPointer(oldBuf)
|
oldPtr := toPointer(oldBuf)
|
||||||
newPtr := (*C.char)(toPointer(newBuf))
|
newPtr := toPointer(newBuf)
|
||||||
|
|
||||||
cOldPath := C.CString(oldPath)
|
cOldPath := C.CString(oldPath)
|
||||||
defer C.free(unsafe.Pointer(cOldPath))
|
defer C.free(unsafe.Pointer(cOldPath))
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 15e119375018fba121cf58e02a9f17fe22df0df8
|
Subproject commit c7c5f2c4ecc727ac555f51bd20353f7f3ae9c07a
|
Loading…
Reference in New Issue